#9877B2

Closest named color: Dark Lilac (#9C6DA5). oklch(62.3% 0.094 309.4), rgb(152, 119, 178).

Aa

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

About this color

#9877B2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.094 and its hue 309°. 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.61:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.61:1
White text3.73:1

Values

HEX#9877B2
RGBrgb(152, 119, 178)
HSLhsl(274, 28%, 58%)
OKLCHoklch(62.3% 0.094 309.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 #9877B2 3.73:1 AA large text Lc -70.4 Content text, not long reading
Black text on #9877B2 5.61:1 AA Lc 39.2 Non-text elements, placeholder text
#9877B2 text on white 3.73:1 AA large text Lc 64.9 Content text, not long reading
#9877B2 text on black 5.61:1 AA Lc -36.8 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

    #ECE8F1

    oklch(93.7% 0.013 306)

  3. Step 200

    200

    #DED5E6

    oklch(88.5% 0.025 309.3)

  4. Step 300

    300

    #C9B9D8

    oklch(80.9% 0.046 308.5)

  5. Step 400

    400

    #AE94C4

    oklch(70.6% 0.074 309.1)

  6. Step 500

    500 (this color)

    #9877B2

    oklch(62.3% 0.094 309.4)

  7. Step 600

    600

    #8562A0

    oklch(55.6% 0.101 309.3)

  8. Step 700

    700

    #715189

    oklch(49.2% 0.094 309.6)

  9. Step 800

    800

    #5C426F

    oklch(42.7% 0.079 309.9)

  10. Step 900

    900

    #4B385A

    oklch(37.6% 0.061 309.3)

  11. Step 950

    950

    #2C2135

    oklch(27% 0.039 309.1)

Export this scale for Tailwind in the Tailwind colors tool

#9877B2 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)#6C83B40.068
Deuteranopia (no green cones)#7385B00.064
Tritanopia (no blue cones)#957F8D0.067
Achromatopsia (no color)#8484840.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #9877B2

    #9877B2

    oklch(62.3% 0.094 309.4)

  • #759254

    #759254

    oklch(62.2% 0.093 129.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9877B2

    #9877B2

    oklch(62.3% 0.094 309.4)

  • #7B81BF

    #7B81BF

    oklch(62.3% 0.094 279.1)

  • #AD7099

    #AD7099

    oklch(62.3% 0.094 339.8)

Open the analogous palette in the generator

Split complementary

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

  • #9877B2

    #9877B2

    oklch(62.3% 0.094 309.4)

  • #958840

    #958840

    oklch(62.3% 0.094 99.2)

  • #4F9873

    #4F9873

    oklch(62.2% 0.093 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9877B2

    #9877B2

    oklch(62.3% 0.094 309.4)

  • #AC7C44

    #AC7C44

    oklch(62.3% 0.094 68.8)

  • #309993

    #309993

    oklch(62.3% 0.094 189.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9877B2

    #9877B2

    oklch(62.3% 0.094 309.4)

  • #B8735C

    #B8735C

    oklch(62.4% 0.094 39.2)

  • #759254

    #759254

    oklch(62.2% 0.093 129.2)

  • #3794AE

    #3794AE

    oklch(62.3% 0.094 219.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9877B2.

Similar named colors

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

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