#987EE8

Closest named color: Lavender Blue (#8B88F8). oklch(66.3% 0.154 293), rgb(152, 126, 232).

Aa

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

About this color

#987EE8 is a medium-light, vivid purple. In OKLCH its lightness is 66%, 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.034 away. Black text reads best on it, at 6.48:1.

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

Values

HEX#987EE8
RGBrgb(152, 126, 232)
HSLhsl(255, 70%, 70%)
OKLCHoklch(66.3% 0.154 293)

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 #987EE8 3.23:1 AA large text Lc -64.9 Content text, not long reading
Black text on #987EE8 6.48:1 AA Lc 44.6 Non-text elements, placeholder text
#987EE8 text on white 3.23:1 AA large text Lc 59.5 Large or bold text, headings
#987EE8 text on black 6.48:1 AA Lc -42.2 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

    #DAD5F3

    oklch(88.6% 0.041 293.2)

  4. Step 300

    300

    #C2B8EE

    oklch(80.9% 0.076 293.1)

  5. Step 400

    400

    #A492E5

    oklch(70.8% 0.12 293)

  6. Step 500

    500 (this color)

    #987EE8

    oklch(66.3% 0.154 293)

  7. Step 600

    600

    #7A5ACB

    oklch(55.6% 0.168 293.2)

  8. Step 700

    700

    #6749AF

    oklch(49.1% 0.156 293.4)

  9. Step 800

    800

    #533D8E

    oklch(42.7% 0.129 292.6)

  10. Step 900

    900

    #453571

    oklch(37.8% 0.1 293.3)

  11. Step 950

    950

    #281F42

    oklch(26.9% 0.064 293.5)

Export this scale for Tailwind in the Tailwind colors tool

#987EE8 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)#5A90EC0.085
Deuteranopia (no green cones)#5E8DE50.081
Tritanopia (no blue cones)#8592A80.125
Achromatopsia (no color)#8F8F8F0.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #987EE8

    #987EE8

    oklch(66.3% 0.154 293)

  • #949C00

    #949C00

    oklch(66.4% 0.148 113.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987EE8

    #987EE8

    oklch(66.3% 0.154 293)

  • #5F90F1

    #5F90F1

    oklch(66.4% 0.154 262.7)

  • #BF6FC9

    #BF6FC9

    oklch(66.2% 0.154 323)

Open the analogous palette in the generator

Split complementary

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

  • #987EE8

    #987EE8

    oklch(66.3% 0.154 293)

  • #BB8A00

    #BB8A00

    oklch(66.3% 0.136 83.3)

  • #52AA4F

    #52AA4F

    oklch(66.2% 0.154 143)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987EE8

    #987EE8

    oklch(66.3% 0.154 293)

  • #DA7424

    #DA7424

    oklch(66.3% 0.154 53.1)

  • #00AC8C

    #00AC8C

    oklch(66.4% 0.127 173.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987EE8

    #987EE8

    oklch(66.3% 0.154 293)

  • #E26765

    #E26765

    oklch(66.3% 0.154 23.1)

  • #949C00

    #949C00

    oklch(66.4% 0.148 113.4)

  • #00A7B2

    #00A7B2

    oklch(66.4% 0.113 203.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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