#9877A2

Closest named color: Dark Lilac (#9C6DA5). oklch(61.6% 0.074 318.2), rgb(152, 119, 162).

Aa

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

About this color

#9877A2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.074 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.028 away. Black text reads best on it, at 5.49:1.

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

Values

HEX#9877A2
RGBrgb(152, 119, 162)
HSLhsl(286, 19%, 55%)
OKLCHoklch(61.6% 0.074 318.2)

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 #9877A2 3.82:1 AA large text Lc -71.2 Content text, not long reading
Black text on #9877A2 5.49:1 AA Lc 38.4 Non-text elements, placeholder text
#9877A2 text on white 3.82:1 AA large text Lc 65.7 Content text, not long reading
#9877A2 text on black 5.49:1 AA Lc -36.0 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

    #F7F4F7

    oklch(97% 0.005 325.6)

  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

    #CBBAD0

    oklch(81% 0.036 318.5)

  5. Step 400

    400

    #B096B8

    oklch(70.8% 0.057 318.2)

  6. Step 500

    500 (this color)

    #9877A2

    oklch(61.6% 0.074 318.2)

  7. Step 600

    600

    #876492

    oklch(55.6% 0.081 317.9)

  8. Step 700

    700

    #73537C

    oklch(49.2% 0.074 318.7)

  9. Step 800

    800

    #5D4465

    oklch(42.7% 0.062 317.8)

  10. Step 900

    900

    #4C3952

    oklch(37.6% 0.048 317.9)

  11. Step 950

    950

    #2D2230

    oklch(27.1% 0.03 318.9)

Export this scale for Tailwind in the Tailwind colors tool

#9877A2 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)#7280A40.059
Deuteranopia (no green cones)#7984A10.056
Tritanopia (no blue cones)#987C860.049
Achromatopsia (no color)#8282820.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #9877A2

    #9877A2

    oklch(61.6% 0.074 318.2)

  • #6F9064

    #6F9064

    oklch(61.6% 0.074 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9877A2

    #9877A2

    oklch(61.6% 0.074 318.2)

  • #837EAF

    #837EAF

    oklch(61.6% 0.074 288.7)

  • #A7738D

    #A7738D

    oklch(61.7% 0.074 348.1)

Open the analogous palette in the generator

Split complementary

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

  • #9877A2

    #9877A2

    oklch(61.6% 0.074 318.2)

  • #898953

    #898953

    oklch(61.7% 0.074 108.4)

  • #55947D

    #55947D

    oklch(61.7% 0.075 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9877A2

    #9877A2

    oklch(61.6% 0.074 318.2)

  • #9E8051

    #9E8051

    oklch(61.7% 0.074 78)

  • #489395

    #489395

    oklch(61.6% 0.074 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9877A2

    #9877A2

    oklch(61.6% 0.074 318.2)

  • #AA785E

    #AA785E

    oklch(61.7% 0.073 48.4)

  • #6F9064

    #6F9064

    oklch(61.6% 0.074 138)

  • #528EA8

    #528EA8

    oklch(61.6% 0.074 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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