#987FDA

Closest named color: Perrywinkle (#8F8CE7). oklch(65.7% 0.134 295.1), rgb(152, 127, 218).

Aa

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

About this color

#987FDA is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.134 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.035 away. Black text reads best on it, at 6.38:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text6.38:1
White text3.28:1

Values

HEX#987FDA
RGBrgb(152, 127, 218)
HSLhsl(256, 55%, 68%)
OKLCHoklch(65.7% 0.134 295.1)

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 #987FDA 3.28:1 AA large text Lc -65.6 Content text, not long reading
Black text on #987FDA 6.38:1 AA Lc 43.9 Non-text elements, placeholder text
#987FDA text on white 3.28:1 AA large text Lc 60.1 Content text, not long reading
#987FDA text on black 6.38:1 AA Lc -41.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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #DAD5EF

    oklch(88.5% 0.036 294.5)

  4. Step 300

    300

    #C3B9E7

    oklch(80.9% 0.065 294.9)

  5. Step 400

    400

    #A593DB

    oklch(70.6% 0.105 295.1)

  6. Step 500

    500 (this color)

    #987FDA

    oklch(65.7% 0.134 295.1)

  7. Step 600

    600

    #7B5EBE

    oklch(55.6% 0.145 295.2)

  8. Step 700

    700

    #684DA4

    oklch(49.1% 0.135 295.3)

  9. Step 800

    800

    #544085

    oklch(42.7% 0.111 294.6)

  10. Step 900

    900

    #45376B

    oklch(37.8% 0.087 294.2)

  11. Step 950

    950

    #29203E

    oklch(27% 0.055 296.3)

Export this scale for Tailwind in the Tailwind colors tool

#987FDA 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)#648EDD0.075
Deuteranopia (no green cones)#688CD80.070
Tritanopia (no blue cones)#8A8FA20.108
Achromatopsia (no color)#8E8E8E0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #987FDA

    #987FDA

    oklch(65.7% 0.134 295.1)

  • #8F9A28

    #8F9A28

    oklch(65.6% 0.134 115)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987FDA

    #987FDA

    oklch(65.7% 0.134 295.1)

  • #698EE3

    #698EE3

    oklch(65.7% 0.134 265.1)

  • #BA73BE

    #BA73BE

    oklch(65.8% 0.133 325.1)

Open the analogous palette in the generator

Split complementary

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

  • #987FDA

    #987FDA

    oklch(65.7% 0.134 295.1)

  • #B78A04

    #B78A04

    oklch(65.9% 0.134 85.2)

  • #57A65C

    #57A65C

    oklch(65.6% 0.133 145.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987FDA

    #987FDA

    oklch(65.7% 0.134 295.1)

  • #CF7936

    #CF7936

    oklch(65.8% 0.134 55.3)

  • #00A98D

    #00A98D

    oklch(65.6% 0.123 175.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987FDA

    #987FDA

    oklch(65.7% 0.134 295.1)

  • #D76D67

    #D76D67

    oklch(65.7% 0.134 24.7)

  • #8F9A28

    #8F9A28

    oklch(65.6% 0.134 115)

  • #00A5B2

    #00A5B2

    oklch(65.9% 0.112 204.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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