#987EB0

Closest named color: Heather (#A484AC). oklch(63.5% 0.079 308), rgb(152, 126, 176).

Aa

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

About this color

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

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

Values

HEX#987EB0
RGBrgb(152, 126, 176)
HSLhsl(271, 24%, 59%)
OKLCHoklch(63.5% 0.079 308)

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 #987EB0 3.53:1 AA large text Lc -68.3 Content text, not long reading
Black text on #987EB0 5.94:1 AA Lc 41.2 Non-text elements, placeholder text
#987EB0 text on white 3.53:1 AA large text Lc 62.9 Content text, not long reading
#987EB0 text on black 5.94:1 AA Lc -38.8 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

    #DDD6E4

    oklch(88.6% 0.02 308.2)

  4. Step 300

    300

    #C7BAD4

    oklch(80.8% 0.039 307.9)

  5. Step 400

    400

    #AB97BF

    oklch(70.8% 0.061 307.5)

  6. Step 500

    500 (this color)

    #987EB0

    oklch(63.5% 0.079 308)

  7. Step 600

    600

    #81659A

    oklch(55.5% 0.086 308)

  8. Step 700

    700

    #6D5484

    oklch(49.1% 0.08 307.6)

  9. Step 800

    800

    #59456B

    oklch(42.7% 0.066 307.9)

  10. Step 900

    900

    #493A57

    oklch(37.7% 0.052 307.7)

  11. Step 950

    950

    #2B2233

    oklch(27% 0.033 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#987EB0 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)#7587B20.054
Deuteranopia (no green cones)#7A89AE0.051
Tritanopia (no blue cones)#9585900.058
Achromatopsia (no color)#8888880.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #987EB0

    #987EB0

    oklch(63.5% 0.079 308)

  • #7D9460

    #7D9460

    oklch(63.5% 0.078 127.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987EB0

    #987EB0

    oklch(63.5% 0.079 308)

  • #7F86BB

    #7F86BB

    oklch(63.5% 0.08 278.1)

  • #AA789C

    #AA789C

    oklch(63.5% 0.079 337.2)

Open the analogous palette in the generator

Split complementary

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

  • #987EB0

    #987EB0

    oklch(63.5% 0.079 308)

  • #978B52

    #978B52

    oklch(63.4% 0.078 97.8)

  • #609A78

    #609A78

    oklch(63.6% 0.08 157.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987EB0

    #987EB0

    oklch(63.5% 0.079 308)

  • #AB8255

    #AB8255

    oklch(63.6% 0.079 68.2)

  • #4B9A94

    #4B9A94

    oklch(63.5% 0.078 188.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987EB0

    #987EB0

    oklch(63.5% 0.079 308)

  • #B57A68

    #B57A68

    oklch(63.6% 0.079 37.7)

  • #7D9460

    #7D9460

    oklch(63.5% 0.078 127.9)

  • #4D97AB

    #4D97AB

    oklch(63.7% 0.079 217.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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