#9876A2

Closest named color: Dark Lilac (#9C6DA5). oklch(61.4% 0.076 318.4), rgb(152, 118, 162).

Aa

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

About this color

#9876A2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.076 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.026 away. Black text reads best on it, at 5.44:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.44:1
White text3.85:1

Values

HEX#9876A2
RGBrgb(152, 118, 162)
HSLhsl(286, 19%, 55%)
OKLCHoklch(61.4% 0.076 318.4)

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 #9876A2 3.85:1 AA large text Lc -71.5 Content text, not long reading
Black text on #9876A2 5.44:1 AA Lc 38.1 Non-text elements, placeholder text
#9876A2 text on white 3.85:1 AA large text Lc 66.0 Content text, not long reading
#9876A2 text on black 5.44:1 AA Lc -35.7 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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE8EE

    oklch(93.7% 0.01 320.5)

  3. Step 200

    200

    #DFD5E2

    oklch(88.5% 0.021 318.4)

  4. Step 300

    300

    #CBB9D0

    oklch(80.8% 0.037 318.8)

  5. Step 400

    400

    #B195B9

    oklch(70.7% 0.06 318.7)

  6. Step 500

    500 (this color)

    #9876A2

    oklch(61.4% 0.076 318.4)

  7. Step 600

    600

    #886492

    oklch(55.7% 0.081 318.8)

  8. Step 700

    700

    #73527D

    oklch(49% 0.078 318.2)

  9. Step 800

    800

    #5E4465

    oklch(42.8% 0.062 319)

  10. Step 900

    900

    #4D3953

    oklch(37.7% 0.05 318.3)

  11. Step 950

    950

    #2D2230

    oklch(27.1% 0.03 318.9)

Export this scale for Tailwind in the Tailwind colors tool

#9876A2 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)#7180A40.062
Deuteranopia (no green cones)#7883A10.057
Tritanopia (no blue cones)#987B860.049
Achromatopsia (no color)#8282820.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #9876A2

    #9876A2

    oklch(61.4% 0.076 318.4)

  • #6E9063

    #6E9063

    oklch(61.5% 0.076 138.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9876A2

    #9876A2

    oklch(61.4% 0.076 318.4)

  • #827DB0

    #827DB0

    oklch(61.4% 0.077 288.4)

  • #A7728C

    #A7728C

    oklch(61.5% 0.075 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #9876A2

    #9876A2

    oklch(61.4% 0.076 318.4)

  • #888851

    #888851

    oklch(61.4% 0.076 108.4)

  • #53937C

    #53937C

    oklch(61.3% 0.075 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9876A2

    #9876A2

    oklch(61.4% 0.076 318.4)

  • #9D7F4E

    #9D7F4E

    oklch(61.4% 0.076 78.9)

  • #469295

    #469295

    oklch(61.3% 0.075 198.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9876A2

    #9876A2

    oklch(61.4% 0.076 318.4)

  • #AA775C

    #AA775C

    oklch(61.5% 0.075 48.8)

  • #6E9063

    #6E9063

    oklch(61.5% 0.076 138.2)

  • #508DA9

    #508DA9

    oklch(61.3% 0.076 229.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9876A2 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.