#987AAE

Closest named color: Dark Lilac (#9C6DA5). oklch(62.7% 0.083 310.4), rgb(152, 122, 174).

Aa

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

About this color

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

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

Values

HEX#987AAE
RGBrgb(152, 122, 174)
HSLhsl(275, 24%, 58%)
OKLCHoklch(62.7% 0.083 310.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 #987AAE 3.66:1 AA large text Lc -69.7 Content text, not long reading
Black text on #987AAE 5.73:1 AA Lc 39.9 Non-text elements, placeholder text
#987AAE text on white 3.66:1 AA large text Lc 64.2 Content text, not long reading
#987AAE text on black 5.73:1 AA Lc -37.5 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

    #F6F4F8

    oklch(97% 0.006 308.4)

  2. Step 100

    100

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DED5E5

    oklch(88.5% 0.024 310.7)

  4. Step 300

    300

    #C9BAD5

    oklch(81% 0.041 310.2)

  5. Step 400

    400

    #AD96BF

    oklch(70.7% 0.064 310.1)

  6. Step 500

    500 (this color)

    #987AAE

    oklch(62.7% 0.083 310.4)

  7. Step 600

    600

    #84649B

    oklch(55.7% 0.09 310.3)

  8. Step 700

    700

    #705384

    oklch(49.2% 0.083 310.7)

  9. Step 800

    800

    #5B446B

    oklch(42.7% 0.069 310.7)

  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

#987AAE 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)#7184B00.060
Deuteranopia (no green cones)#7886AC0.055
Tritanopia (no blue cones)#96818D0.060
Achromatopsia (no color)#8686860.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #987AAE

    #987AAE

    oklch(62.7% 0.083 310.4)

  • #77935C

    #77935C

    oklch(62.8% 0.084 130.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987AAE

    #987AAE

    oklch(62.7% 0.083 310.4)

  • #7E83BA

    #7E83BA

    oklch(62.7% 0.083 279.7)

  • #AB7498

    #AB7498

    oklch(62.7% 0.084 340.4)

Open the analogous palette in the generator

Split complementary

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

  • #987AAE

    #987AAE

    oklch(62.7% 0.083 310.4)

  • #948A4C

    #948A4C

    oklch(62.8% 0.084 100.3)

  • #589877

    #589877

    oklch(62.7% 0.084 160.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987AAE

    #987AAE

    oklch(62.7% 0.083 310.4)

  • #A97F4E

    #A97F4E

    oklch(62.7% 0.084 69.6)

  • #419894

    #419894

    oklch(62.6% 0.083 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987AAE

    #987AAE

    oklch(62.7% 0.083 310.4)

  • #B47761

    #B47761

    oklch(62.7% 0.084 40.6)

  • #77935C

    #77935C

    oklch(62.8% 0.084 130.5)

  • #4794AB

    #4794AB

    oklch(62.7% 0.083 220.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #987AAE 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.