#8A87EA

Closest named color: Perrywinkle (#8F8CE7). oklch(66.9% 0.144 283.2), rgb(138, 135, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.144)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.73:1
White text3.11:1

Values

HEX#8A87EA
RGBrgb(138, 135, 234)
HSLhsl(242, 70%, 72%)
OKLCHoklch(66.9% 0.144 283.2)

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 #8A87EA 3.11:1 AA large text Lc -63.5 Content text, not long reading
Black text on #8A87EA 6.73:1 AA Lc 46.0 Large or bold text, headings
#8A87EA text on white 3.11:1 AA large text Lc 58.1 Large or bold text, headings
#8A87EA text on black 6.73:1 AA Lc -43.7 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D4D6FA

    oklch(88.6% 0.049 282.8)

  4. Step 300

    300

    #B8BAFA

    oklch(81% 0.09 282.8)

  5. Step 400

    400 (this color)

    #8A87EA

    oklch(66.9% 0.144 283.2)

  6. Step 500

    500

    #7E74F3

    oklch(63.1% 0.184 283.3)

  7. Step 600

    600

    #6959E2

    oklch(55.7% 0.2 283.1)

  8. Step 700

    700

    #5847C4

    oklch(49% 0.186 283.3)

  9. Step 800

    800

    #483C9F

    oklch(42.8% 0.154 283.2)

  10. Step 900

    900

    #3B347E

    oklch(37.6% 0.121 283.2)

  11. Step 950

    950

    #221F4A

    oklch(26.9% 0.077 283)

Export this scale for Tailwind in the Tailwind colors tool

#8A87EA 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)#6395EE0.055
Deuteranopia (no green cones)#5F8FE80.055
Tritanopia (no blue cones)#6D9BAD0.125
Achromatopsia (no color)#9292920.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A87EA

    #8A87EA

    oklch(66.9% 0.144 283.2)

  • #A59800

    #A59800

    oklch(67% 0.141 103.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A87EA

    #8A87EA

    oklch(66.9% 0.144 283.2)

  • #4E98EB

    #4E98EB

    oklch(67% 0.144 253)

  • #B478D3

    #B478D3

    oklch(66.9% 0.144 313.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A87EA

    #8A87EA

    oklch(66.9% 0.144 283.2)

  • #C98500

    #C98500

    oklch(67% 0.143 73.2)

  • #70A743

    #70A743

    oklch(66.8% 0.144 133.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A87EA

    #8A87EA

    oklch(66.9% 0.144 283.2)

  • #DC7446

    #DC7446

    oklch(66.9% 0.143 43.5)

  • #01B07B

    #01B07B

    oklch(67% 0.145 163)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A87EA

    #8A87EA

    oklch(66.9% 0.144 283.2)

  • #DF6B7B

    #DF6B7B

    oklch(66.9% 0.145 13.2)

  • #A59800

    #A59800

    oklch(67% 0.141 103.4)

  • #00ABA8

    #00ABA8

    oklch(67% 0.115 192.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8A87EA.

Similar named colors

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

Use #8A87EA 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.