#987FE9

Closest named color: Lavender Blue (#8B88F8). oklch(66.5% 0.154 292.6), rgb(152, 127, 233).

Aa

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

About this color

#987FE9 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.154 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.032 away. Black text reads best on it, at 6.54:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.154)
Temperaturein between
Nearest nameLavender Blue (#8B88F8)
Black text6.54:1
White text3.20:1

Values

HEX#987FE9
RGBrgb(152, 127, 233)
HSLhsl(254, 71%, 71%)
OKLCHoklch(66.5% 0.154 292.6)

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 #987FE9 3.20:1 AA large text Lc -64.5 Content text, not long reading
Black text on #987FE9 6.54:1 AA Lc 44.9 Non-text elements, placeholder text
#987FE9 text on white 3.20:1 AA large text Lc 59.1 Large or bold text, headings
#987FE9 text on black 6.54:1 AA Lc -42.6 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE7F8

    oklch(93.5% 0.023 294.1)

  3. Step 200

    200

    #D9D5F3

    oklch(88.5% 0.041 291.7)

  4. Step 300

    300

    #C1B8EE

    oklch(80.8% 0.076 292.3)

  5. Step 400

    400

    #A392E5

    oklch(70.7% 0.12 292.5)

  6. Step 500

    500 (this color)

    #987FE9

    oklch(66.5% 0.154 292.6)

  7. Step 600

    600

    #795ACB

    oklch(55.6% 0.168 292.7)

  8. Step 700

    700

    #664AAF

    oklch(49.2% 0.154 292.6)

  9. Step 800

    800

    #533D8E

    oklch(42.7% 0.129 292.6)

  10. Step 900

    900

    #443571

    oklch(37.7% 0.1 292.5)

  11. Step 950

    950

    #281F42

    oklch(26.9% 0.064 293.5)

Export this scale for Tailwind in the Tailwind colors tool

#987FE9 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)#5B91ED0.084
Deuteranopia (no green cones)#5E8EE60.081
Tritanopia (no blue cones)#8493A90.125
Achromatopsia (no color)#9090900.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #987FE9

    #987FE9

    oklch(66.5% 0.154 292.6)

  • #969C00

    #969C00

    oklch(66.5% 0.148 112.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987FE9

    #987FE9

    oklch(66.5% 0.154 292.6)

  • #5F91F1

    #5F91F1

    oklch(66.6% 0.153 262.3)

  • #C070CA

    #C070CA

    oklch(66.5% 0.154 323)

Open the analogous palette in the generator

Split complementary

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

  • #987FE9

    #987FE9

    oklch(66.5% 0.154 292.6)

  • #BD8A00

    #BD8A00

    oklch(66.5% 0.137 82.3)

  • #54AB4F

    #54AB4F

    oklch(66.6% 0.154 142.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987FE9

    #987FE9

    oklch(66.5% 0.154 292.6)

  • #DB7426

    #DB7426

    oklch(66.5% 0.154 52.5)

  • #00AD8C

    #00AD8C

    oklch(66.6% 0.128 172.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987FE9

    #987FE9

    oklch(66.5% 0.154 292.6)

  • #E36867

    #E36867

    oklch(66.6% 0.154 22.6)

  • #969C00

    #969C00

    oklch(66.5% 0.148 112.5)

  • #00A8B2

    #00A8B2

    oklch(66.6% 0.113 202.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #987FE9.

Similar named colors

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

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