#987FAB

Closest named color: Heather (#A484AC). oklch(63.5% 0.07 310.2), rgb(152, 127, 171).

Aa

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

About this color

#987FAB is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.070 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heather (#A484AC), ΔE 0.024 away. Black text reads best on it, at 5.95:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.070)
Temperaturein between
Nearest nameHeather (#A484AC)
Black text5.95:1
White text3.52:1

Values

HEX#987FAB
RGBrgb(152, 127, 171)
HSLhsl(274, 21%, 58%)
OKLCHoklch(63.5% 0.07 310.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 #987FAB 3.52:1 AA large text Lc -68.3 Content text, not long reading
Black text on #987FAB 5.95:1 AA Lc 41.3 Non-text elements, placeholder text
#987FAB text on white 3.52:1 AA large text Lc 62.8 Content text, not long reading
#987FAB text on black 5.95:1 AA Lc -38.9 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #ECE8EF

    oklch(93.6% 0.01 311.2)

  3. Step 200

    200

    #DDD6E3

    oklch(88.5% 0.019 309.8)

  4. Step 300

    300

    #C7BBD2

    oklch(80.9% 0.034 308.9)

  5. Step 400

    400

    #AB97BB

    oklch(70.6% 0.056 309.9)

  6. Step 500

    500 (this color)

    #987FAB

    oklch(63.5% 0.07 310.2)

  7. Step 600

    600

    #816795

    oklch(55.7% 0.076 309.8)

  8. Step 700

    700

    #6D557F

    oklch(49% 0.071 310)

  9. Step 800

    800

    #594667

    oklch(42.7% 0.058 310.3)

  10. Step 900

    900

    #493B54

    oklch(37.7% 0.045 309.7)

  11. Step 950

    950

    #2B2231

    oklch(26.9% 0.03 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#987FAB 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)#7887AD0.049
Deuteranopia (no green cones)#7D89AA0.046
Tritanopia (no blue cones)#96858E0.052
Achromatopsia (no color)#8888880.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #987FAB

    #987FAB

    oklch(63.5% 0.07 310.2)

  • #7C9466

    #7C9466

    oklch(63.6% 0.071 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987FAB

    #987FAB

    oklch(63.5% 0.07 310.2)

  • #8286B5

    #8286B5

    oklch(63.5% 0.071 280.4)

  • #A87A98

    #A87A98

    oklch(63.5% 0.07 340)

Open the analogous palette in the generator

Split complementary

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

  • #987FAB

    #987FAB

    oklch(63.5% 0.07 310.2)

  • #948C59

    #948C59

    oklch(63.5% 0.071 100.4)

  • #64987C

    #64987C

    oklch(63.5% 0.07 160)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987FAB

    #987FAB

    oklch(63.5% 0.07 310.2)

  • #A6845B

    #A6845B

    oklch(63.6% 0.07 71.2)

  • #549994

    #549994

    oklch(63.6% 0.071 189.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987FAB

    #987FAB

    oklch(63.5% 0.07 310.2)

  • #B07C6A

    #B07C6A

    oklch(63.4% 0.071 39.9)

  • #7C9466

    #7C9466

    oklch(63.6% 0.071 130.6)

  • #5795A8

    #5795A8

    oklch(63.5% 0.07 219.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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