#8787EA

Closest named color: Perrywinkle (#8F8CE7). oklch(66.7% 0.145 281.7), rgb(135, 135, 234).

Aa

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

About this color

#8787EA is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.145 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.019 away. Black text reads best on it, at 6.68:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.145)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.68:1
White text3.14:1

Values

HEX#8787EA
RGBrgb(135, 135, 234)
HSLhsl(240, 70%, 72%)
OKLCHoklch(66.7% 0.145 281.7)

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 #8787EA 3.14:1 AA large text Lc -63.8 Content text, not long reading
Black text on #8787EA 6.68:1 AA Lc 45.7 Large or bold text, headings
#8787EA text on white 3.14:1 AA large text Lc 58.4 Large or bold text, headings
#8787EA text on black 6.68:1 AA Lc -43.4 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E9F8

    oklch(93.7% 0.02 279.9)

  3. Step 200

    200

    #D4D7F3

    oklch(88.6% 0.039 280.7)

  4. Step 300

    300

    #B8BCEE

    oklch(80.9% 0.071 281.1)

  5. Step 400

    400

    #9597E5

    oklch(70.6% 0.113 282)

  6. Step 500

    500 (this color)

    #8787EA

    oklch(66.7% 0.145 281.7)

  7. Step 600

    600

    #6763CB

    oklch(55.6% 0.156 281.8)

  8. Step 700

    700

    #5651B0

    oklch(49% 0.147 281.9)

  9. Step 800

    800

    #46438E

    oklch(42.6% 0.121 281.8)

  10. Step 900

    900

    #3A3972

    oklch(37.6% 0.095 281.6)

  11. Step 950

    950

    #222243

    oklch(27% 0.06 281.6)

Export this scale for Tailwind in the Tailwind colors tool

#8787EA 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)#6295EE0.053
Deuteranopia (no green cones)#5D8EE80.052
Tritanopia (no blue cones)#689BAD0.126
Achromatopsia (no color)#9191910.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #8787EA

    #8787EA

    oklch(66.7% 0.145 281.7)

  • #A69600

    #A69600

    oklch(66.6% 0.139 101.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8787EA

    #8787EA

    oklch(66.7% 0.145 281.7)

  • #4998EA

    #4998EA

    oklch(66.8% 0.145 251.6)

  • #B278D4

    #B278D4

    oklch(66.7% 0.144 312)

Open the analogous palette in the generator

Split complementary

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

  • #8787EA

    #8787EA

    oklch(66.7% 0.145 281.7)

  • #C98300

    #C98300

    oklch(66.6% 0.143 71.9)

  • #73A63F

    #73A63F

    oklch(66.7% 0.145 131.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8787EA

    #8787EA

    oklch(66.7% 0.145 281.7)

  • #DC7248

    #DC7248

    oklch(66.6% 0.144 41.6)

  • #0DAF78

    #0DAF78

    oklch(66.7% 0.145 161.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8787EA

    #8787EA

    oklch(66.7% 0.145 281.7)

  • #DE6A7D

    #DE6A7D

    oklch(66.7% 0.145 11.6)

  • #A69600

    #A69600

    oklch(66.6% 0.139 101.8)

  • #00AAA6

    #00AAA6

    oklch(66.7% 0.115 191.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8787EA.

Similar named colors

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

Use #8787EA 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.