#9879AC

Closest named color: Dark Lilac (#9C6DA5). oklch(62.4% 0.083 311.7), rgb(152, 121, 172).

Aa

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

About this color

#9879AC is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.083 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.030 away. Black text reads best on it, at 5.66:1.

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

Values

HEX#9879AC
RGBrgb(152, 121, 172)
HSLhsl(276, 24%, 57%)
OKLCHoklch(62.4% 0.083 311.7)

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 #9879AC 3.70:1 AA large text Lc -70.1 Content text, not long reading
Black text on #9879AC 5.66:1 AA Lc 39.5 Non-text elements, placeholder text
#9879AC text on white 3.70:1 AA large text Lc 64.6 Content text, not long reading
#9879AC text on black 5.66:1 AA Lc -37.1 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

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DED5E4

    oklch(88.5% 0.022 312.2)

  4. Step 300

    300

    #C9BAD4

    oklch(80.9% 0.04 311.1)

  5. Step 400

    400

    #AE95BE

    oklch(70.6% 0.065 312.1)

  6. Step 500

    500 (this color)

    #9879AC

    oklch(62.4% 0.083 311.7)

  7. Step 600

    600

    #85649A

    oklch(55.7% 0.09 311.6)

  8. Step 700

    700

    #705283

    oklch(49% 0.084 311.6)

  9. Step 800

    800

    #5C446B

    oklch(42.9% 0.069 311.8)

  10. Step 900

    900

    #4B3957

    oklch(37.7% 0.055 311.3)

  11. Step 950

    950

    #2C2233

    oklch(27.1% 0.034 310.9)

Export this scale for Tailwind in the Tailwind colors tool

#9879AC 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)#7183AE0.060
Deuteranopia (no green cones)#7785AA0.057
Tritanopia (no blue cones)#96808B0.060
Achromatopsia (no color)#8585850.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #9879AC

    #9879AC

    oklch(62.4% 0.083 311.7)

  • #75925D

    #75925D

    oklch(62.4% 0.083 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9879AC

    #9879AC

    oklch(62.4% 0.083 311.7)

  • #7F81B8

    #7F81B8

    oklch(62.3% 0.083 282.1)

  • #AA7396

    #AA7396

    oklch(62.3% 0.084 341.3)

Open the analogous palette in the generator

Split complementary

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

  • #9879AC

    #9879AC

    oklch(62.4% 0.083 311.7)

  • #91894C

    #91894C

    oklch(62.3% 0.082 101.9)

  • #569778

    #569778

    oklch(62.4% 0.083 162)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9879AC

    #9879AC

    oklch(62.4% 0.083 311.7)

  • #A77F4D

    #A77F4D

    oklch(62.4% 0.083 71.5)

  • #419794

    #419794

    oklch(62.3% 0.082 192.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9879AC

    #9879AC

    oklch(62.4% 0.083 311.7)

  • #B27760

    #B27760

    oklch(62.5% 0.082 42.1)

  • #75925D

    #75925D

    oklch(62.4% 0.083 131.7)

  • #4793AB

    #4793AB

    oklch(62.5% 0.083 221.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9879AC 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.