#987BE2

Closest named color: Medium Purple (#9370DB). oklch(65.5% 0.151 294.9), rgb(152, 123, 226).

Aa

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

About this color

#987BE2 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.151 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.029 away. Black text reads best on it, at 6.26:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.151)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.26:1
White text3.35:1

Values

HEX#987BE2
RGBrgb(152, 123, 226)
HSLhsl(257, 64%, 68%)
OKLCHoklch(65.5% 0.151 294.9)

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 #987BE2 3.35:1 AA large text Lc -66.2 Content text, not long reading
Black text on #987BE2 6.26:1 AA Lc 43.3 Non-text elements, placeholder text
#987BE2 text on white 3.35:1 AA large text Lc 60.8 Content text, not long reading
#987BE2 text on black 6.26:1 AA Lc -40.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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EAE7F7

    oklch(93.5% 0.022 294.6)

  3. Step 200

    200

    #DAD4F2

    oklch(88.4% 0.041 294.7)

  4. Step 300

    300

    #C3B8EC

    oklch(80.9% 0.073 294.4)

  5. Step 400

    400

    #A691E2

    oklch(70.7% 0.118 295.1)

  6. Step 500

    500 (this color)

    #987BE2

    oklch(65.5% 0.151 294.9)

  7. Step 600

    600

    #7C5AC7

    oklch(55.6% 0.163 294.9)

  8. Step 700

    700

    #6949AC

    oklch(49.1% 0.152 295.1)

  9. Step 800

    800

    #553D8C

    oklch(42.8% 0.126 294.5)

  10. Step 900

    900

    #463570

    oklch(37.8% 0.098 294.5)

  11. Step 950

    950

    #291F41

    oklch(26.9% 0.062 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#987BE2 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)#598DE60.088
Deuteranopia (no green cones)#5E8BDF0.083
Tritanopia (no blue cones)#878EA40.121
Achromatopsia (no color)#8C8C8C0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #987BE2

    #987BE2

    oklch(65.5% 0.151 294.9)

  • #8F9A00

    #8F9A00

    oklch(65.5% 0.148 114.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987BE2

    #987BE2

    oklch(65.5% 0.151 294.9)

  • #628CEC

    #628CEC

    oklch(65.4% 0.151 264.8)

  • #BE6DC3

    #BE6DC3

    oklch(65.5% 0.151 325)

Open the analogous palette in the generator

Split complementary

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

  • #987BE2

    #987BE2

    oklch(65.5% 0.151 294.9)

  • #B68800

    #B68800

    oklch(65.4% 0.134 84.5)

  • #4CA852

    #4CA852

    oklch(65.5% 0.151 144.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987BE2

    #987BE2

    oklch(65.5% 0.151 294.9)

  • #D5731F

    #D5731F

    oklch(65.5% 0.151 54.8)

  • #00A98C

    #00A98C

    oklch(65.6% 0.124 174.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987BE2

    #987BE2

    oklch(65.5% 0.151 294.9)

  • #DD6660

    #DD6660

    oklch(65.4% 0.15 25)

  • #8F9A00

    #8F9A00

    oklch(65.5% 0.148 114.8)

  • #00A4B1

    #00A4B1

    oklch(65.6% 0.112 204.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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