#987AAC

Closest named color: Dark Lilac (#9C6DA5). oklch(62.6% 0.081 311.4), rgb(152, 122, 172).

Aa

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

About this color

#987AAC is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.081 and its hue 311°. 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.71:1.

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

Values

HEX#987AAC
RGBrgb(152, 122, 172)
HSLhsl(276, 23%, 58%)
OKLCHoklch(62.6% 0.081 311.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 #987AAC 3.67:1 AA large text Lc -69.8 Content text, not long reading
Black text on #987AAC 5.71:1 AA Lc 39.8 Non-text elements, placeholder text
#987AAC text on white 3.67:1 AA large text Lc 64.3 Content text, not long reading
#987AAC text on black 5.71:1 AA Lc -37.4 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

    #DED5E4

    oklch(88.5% 0.022 312.2)

  4. Step 300

    300

    #C9BAD4

    oklch(80.9% 0.04 311.1)

  5. Step 400

    400

    #AE96BE

    oklch(70.8% 0.063 311.7)

  6. Step 500

    500 (this color)

    #987AAC

    oklch(62.6% 0.081 311.4)

  7. Step 600

    600

    #846499

    oklch(55.6% 0.088 311.3)

  8. Step 700

    700

    #705383

    oklch(49.2% 0.082 311.3)

  9. Step 800

    800

    #5B446A

    oklch(42.7% 0.067 311.4)

  10. Step 900

    900

    #4B3956

    oklch(37.6% 0.053 312.2)

  11. Step 950

    950

    #2C2232

    oklch(27.1% 0.032 312.5)

Export this scale for Tailwind in the Tailwind colors tool

#987AAC 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)#7284AE0.059
Deuteranopia (no green cones)#7886AA0.056
Tritanopia (no blue cones)#96808C0.057
Achromatopsia (no color)#8585850.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #987AAC

    #987AAC

    oklch(62.6% 0.081 311.4)

  • #76925E

    #76925E

    oklch(62.5% 0.081 131.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987AAC

    #987AAC

    oklch(62.6% 0.081 311.4)

  • #7F82B8

    #7F82B8

    oklch(62.5% 0.081 281.3)

  • #AA7596

    #AA7596

    oklch(62.7% 0.08 341.8)

Open the analogous palette in the generator

Split complementary

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

  • #987AAC

    #987AAC

    oklch(62.6% 0.081 311.4)

  • #928A4E

    #928A4E

    oklch(62.7% 0.081 101.7)

  • #599778

    #599778

    oklch(62.5% 0.08 161.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987AAC

    #987AAC

    oklch(62.6% 0.081 311.4)

  • #A78050

    #A78050

    oklch(62.7% 0.081 71.2)

  • #449894

    #449894

    oklch(62.7% 0.081 191.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987AAC

    #987AAC

    oklch(62.6% 0.081 311.4)

  • #B27761

    #B27761

    oklch(62.5% 0.081 41.2)

  • #76925E

    #76925E

    oklch(62.5% 0.081 131.4)

  • #4A93AB

    #4A93AB

    oklch(62.6% 0.081 222)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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