#9873B2

Closest named color: Dark Lilac (#9C6DA5). oklch(61.6% 0.101 310.5), rgb(152, 115, 178).

Aa

Black text reads best on this color (5.43:1).

About this color

#9873B2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.101 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.022 away. Black text reads best on it, at 5.43:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.43:1
White text3.86:1

Values

HEX#9873B2
RGBrgb(152, 115, 178)
HSLhsl(275, 29%, 57%)
OKLCHoklch(61.6% 0.101 310.5)

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 #9873B2 3.86:1 AA large text Lc -71.6 Content text, not long reading
Black text on #9873B2 5.43:1 AA Lc 38.0 Non-text elements, placeholder text
#9873B2 text on white 3.86:1 AA large text Lc 66.1 Content text, not long reading
#9873B2 text on black 5.43:1 AA Lc -35.6 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DFD4E7

    oklch(88.4% 0.028 311.3)

  4. Step 300

    300

    #CBB8D9

    oklch(80.9% 0.05 310.9)

  5. Step 400

    400

    #B093C6

    oklch(70.7% 0.079 310.2)

  6. Step 500

    500 (this color)

    #9873B2

    oklch(61.6% 0.101 310.5)

  7. Step 600

    600

    #8760A3

    oklch(55.6% 0.109 310)

  8. Step 700

    700

    #734F8B

    oklch(49.2% 0.101 310.7)

  9. Step 800

    800

    #5E4171

    oklch(42.8% 0.084 311)

  10. Step 900

    900

    #4D375C

    oklch(37.8% 0.067 310.7)

  11. Step 950

    950

    #2D2036

    oklch(26.9% 0.044 310.7)

Export this scale for Tailwind in the Tailwind colors tool

#9873B2 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)#6880B40.075
Deuteranopia (no green cones)#7082B00.069
Tritanopia (no blue cones)#957C8A0.073
Achromatopsia (no color)#8282820.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #9873B2

    #9873B2

    oklch(61.6% 0.101 310.5)

  • #70914E

    #70914E

    oklch(61.5% 0.101 130.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9873B2

    #9873B2

    oklch(61.6% 0.101 310.5)

  • #7A7DC1

    #7A7DC1

    oklch(61.5% 0.102 281)

  • #AE6C97

    #AE6C97

    oklch(61.6% 0.101 341.1)

Open the analogous palette in the generator

Split complementary

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

  • #9873B2

    #9873B2

    oklch(61.6% 0.101 310.5)

  • #938637

    #938637

    oklch(61.6% 0.101 100)

  • #459870

    #459870

    oklch(61.7% 0.102 160.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9873B2

    #9873B2

    oklch(61.6% 0.101 310.5)

  • #AB7A3A

    #AB7A3A

    oklch(61.6% 0.101 71.2)

  • #1A9893

    #1A9893

    oklch(61.6% 0.101 190.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9873B2

    #9873B2

    oklch(61.6% 0.101 310.5)

  • #B86F55

    #B86F55

    oklch(61.6% 0.101 40.3)

  • #70914E

    #70914E

    oklch(61.5% 0.101 130.4)

  • #2892AF

    #2892AF

    oklch(61.4% 0.101 220.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9873B2 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.