#987AA7

Closest named color: Dark Lilac (#9C6DA5). oklch(62.4% 0.074 314.2), rgb(152, 122, 167).

Aa

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

About this color

#987AA7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.074 and its hue 314°. 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.67:1.

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

Values

HEX#987AA7
RGBrgb(152, 122, 167)
HSLhsl(280, 20%, 57%)
OKLCHoklch(62.4% 0.074 314.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 #987AA7 3.69:1 AA large text Lc -70.0 Content text, not long reading
Black text on #987AA7 5.67:1 AA Lc 39.5 Non-text elements, placeholder text
#987AA7 text on white 3.69:1 AA large text Lc 64.5 Content text, not long reading
#987AA7 text on black 5.67: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

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DED5E3

    oklch(88.4% 0.021 313.8)

  4. Step 300

    300

    #C9BAD1

    oklch(80.8% 0.036 314.1)

  5. Step 400

    400

    #AE96BA

    oklch(70.6% 0.058 314.4)

  6. Step 500

    500 (this color)

    #987AA7

    oklch(62.4% 0.074 314.2)

  7. Step 600

    600

    #856595

    oklch(55.7% 0.081 314.1)

  8. Step 700

    700

    #70547F

    oklch(49.2% 0.075 313.4)

  9. Step 800

    800

    #5C4467

    oklch(42.7% 0.064 314.9)

  10. Step 900

    900

    #4B3A54

    oklch(37.7% 0.049 313.7)

  11. Step 950

    950

    #2C2231

    oklch(27% 0.031 314.3)

Export this scale for Tailwind in the Tailwind colors tool

#987AA7 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)#7483A90.056
Deuteranopia (no green cones)#7A86A60.053
Tritanopia (no blue cones)#977F8A0.051
Achromatopsia (no color)#8585850.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #987AA7

    #987AA7

    oklch(62.4% 0.074 314.2)

  • #759263

    #759263

    oklch(62.5% 0.075 133.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987AA7

    #987AA7

    oklch(62.4% 0.074 314.2)

  • #8281B3

    #8281B3

    oklch(62.3% 0.075 284.9)

  • #A87592

    #A87592

    oklch(62.3% 0.075 344.4)

Open the analogous palette in the generator

Split complementary

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

  • #987AA7

    #987AA7

    oklch(62.4% 0.074 314.2)

  • #8E8A54

    #8E8A54

    oklch(62.4% 0.074 104.7)

  • #5A967B

    #5A967B

    oklch(62.4% 0.075 163.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987AA7

    #987AA7

    oklch(62.4% 0.074 314.2)

  • #A28153

    #A28153

    oklch(62.4% 0.075 74.9)

  • #4B9695

    #4B9695

    oklch(62.5% 0.075 194.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987AA7

    #987AA7

    oklch(62.4% 0.074 314.2)

  • #AE7962

    #AE7962

    oklch(62.4% 0.075 44.3)

  • #759263

    #759263

    oklch(62.5% 0.075 133.9)

  • #5191A9

    #5191A9

    oklch(62.3% 0.075 224.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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