#873791

Closest named color: Warm Purple (#952E8F). oklch(48.3% 0.159 323.1), rgb(135, 55, 145).

Aa

White text reads best on this color (7.03:1).

About this color

#873791 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.159 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.030 away. White text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.159)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.98:1
White text7.03:1

Values

HEX#873791
RGBrgb(135, 55, 145)
HSLhsl(293, 45%, 39%)
OKLCHoklch(48.3% 0.159 323.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #873791 7.03:1 AAA Lc -88.7 Fine for body text
Black text on #873791 2.98:1 Fails Lc 20.3 Dividers and decoration only
#873791 text on white 7.03:1 AAA Lc 83.7 Fine for body text
#873791 text on black 2.98:1 Fails Lc -18.2 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E7D0EA

    oklch(88.4% 0.043 322.3)

  4. Step 300

    300

    #D9B0DE

    oklch(80.8% 0.078 322.7)

  5. Step 400

    400

    #C585CD

    oklch(70.6% 0.124 322.8)

  6. Step 500

    500

    #B665C0

    oklch(63.2% 0.157 323.1)

  7. Step 600

    600

    #A149AC

    oklch(55.7% 0.171 323.1)

  8. Step 700

    700 (this color)

    #873791

    oklch(48.3% 0.159 323.1)

  9. Step 800

    800

    #703078

    oklch(42.7% 0.133 323.1)

  10. Step 900

    900

    #5B2C60

    oklch(37.8% 0.102 323.6)

  11. Step 950

    950

    #351A38

    oklch(26.9% 0.065 323.4)

Export this scale for Tailwind in the Tailwind colors tool

#873791 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#2653940.157
Deuteranopia (no green cones)#445C8F0.136
Tritanopia (no blue cones)#89445F0.094
Achromatopsia (no color)#5959590.160

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #873791

    #873791

    oklch(48.3% 0.159 323.1)

  • #05730D

    #05730D

    oklch(48.2% 0.159 143.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #873791

    #873791

    oklch(48.3% 0.159 323.1)

  • #6546AE

    #6546AE

    oklch(48.3% 0.159 293.3)

  • #9D2B66

    #9D2B66

    oklch(48.3% 0.159 353.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #873791

    #873791

    oklch(48.3% 0.159 323.1)

  • #5F6400

    #5F6400

    oklch(48.2% 0.108 113.1)

  • #006F5A

    #006F5A

    oklch(48.3% 0.092 173.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #873791

    #873791

    oklch(48.3% 0.159 323.1)

  • #795800

    #795800

    oklch(48.2% 0.099 83.2)

  • #006C73

    #006C73

    oklch(48.4% 0.082 202.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #873791

    #873791

    oklch(48.3% 0.159 323.1)

  • #924700

    #924700

    oklch(48.4% 0.122 53.4)

  • #05730D

    #05730D

    oklch(48.2% 0.159 143.1)

  • #00678D

    #00678D

    oklch(48.3% 0.099 232.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #873791, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #873791 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.