#987FF0

Closest named color: Periwinkle (#8E82FE). oklch(66.9% 0.163 291.5), rgb(152, 127, 240).

Aa

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

About this color

#987FF0 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.163 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.025 away. Black text reads best on it, at 6.62:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.163)
Temperaturein between
Nearest namePeriwinkle (#8E82FE)
Black text6.62:1
White text3.16:1

Values

HEX#987FF0
RGBrgb(152, 127, 240)
HSLhsl(253, 79%, 72%)
OKLCHoklch(66.9% 0.163 291.5)

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 #987FF0 3.16:1 AA large text Lc -64.0 Content text, not long reading
Black text on #987FF0 6.62:1 AA Lc 45.4 Large or bold text, headings
#987FF0 text on white 3.16:1 AA large text Lc 58.6 Large or bold text, headings
#987FF0 text on black 6.62:1 AA Lc -43.1 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 400.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FD

    oklch(93.7% 0.03 292.1)

  3. Step 200

    200

    #D9D3FC

    oklch(88.5% 0.056 291.9)

  4. Step 300

    300

    #C1B5FE

    oklch(80.9% 0.102 291.5)

  5. Step 400

    400 (this color)

    #987FF0

    oklch(66.9% 0.163 291.5)

  6. Step 500

    500

    #8F68FB

    oklch(63.1% 0.209 291.5)

  7. Step 600

    600

    #7B49EA

    oklch(55.5% 0.228 291.4)

  8. Step 700

    700

    #6839CB

    oklch(49.1% 0.21 291.4)

  9. Step 800

    800

    #5531A4

    oklch(42.7% 0.174 291.7)

  10. Step 900

    900

    #452D82

    oklch(37.6% 0.136 291.5)

  11. Step 950

    950

    #281C4C

    oklch(27% 0.085 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#987FF0 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)#5692F40.089
Deuteranopia (no green cones)#598EED0.085
Tritanopia (no blue cones)#8295AC0.134
Achromatopsia (no color)#9191910.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #987FF0

    #987FF0

    oklch(66.9% 0.163 291.5)

  • #999D00

    #999D00

    oklch(67% 0.148 111.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987FF0

    #987FF0

    oklch(66.9% 0.163 291.5)

  • #5A92F8

    #5A92F8

    oklch(67% 0.163 261.4)

  • #C26FD0

    #C26FD0

    oklch(66.9% 0.163 321.7)

Open the analogous palette in the generator

Split complementary

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

  • #987FF0

    #987FF0

    oklch(66.9% 0.163 291.5)

  • #BF8B00

    #BF8B00

    oklch(67% 0.138 81.9)

  • #53AD48

    #53AD48

    oklch(67% 0.163 141.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987FF0

    #987FF0

    oklch(66.9% 0.163 291.5)

  • #E1721D

    #E1721D

    oklch(67% 0.164 51.4)

  • #00AE8B

    #00AE8B

    oklch(66.9% 0.13 171.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987FF0

    #987FF0

    oklch(66.9% 0.163 291.5)

  • #E86567

    #E86567

    oklch(66.9% 0.163 21.6)

  • #999D00

    #999D00

    oklch(67% 0.148 111.6)

  • #00A9B2

    #00A9B2

    oklch(66.9% 0.114 201.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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