#8E87FF

Closest named color: Lavender Blue (#8B88F8). oklch(68.4% 0.172 283.5), rgb(142, 135, 255).

Aa

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

About this color

#8E87FF is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.172 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.012 away. Black text reads best on it, at 7.05:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.172)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.05:1
White text2.97:1

Values

HEX#8E87FF
RGBrgb(142, 135, 255)
HSLhsl(244, 100%, 76%)
OKLCHoklch(68.4% 0.172 283.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 #8E87FF 2.97:1 Fails Lc -61.5 Content text, not long reading
Black text on #8E87FF 7.05:1 AAA Lc 47.9 Large or bold text, headings
#8E87FF text on white 2.97:1 Fails Lc 56.1 Large or bold text, headings
#8E87FF text on black 7.05:1 AAA Lc -45.6 Large or bold text, headings

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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E8FF

    oklch(93.7% 0.031 283.8)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300

    #B8B8FF

    oklch(80.8% 0.1 283.9)

  5. Step 400

    400 (this color)

    #8E87FF

    oklch(68.4% 0.172 283.5)

  6. Step 500

    500

    #7E6FFF

    oklch(63% 0.206 283.5)

  7. Step 600

    600

    #6B4CF7

    oklch(55.6% 0.24 283.6)

  8. Step 700

    700

    #5A3BD7

    oklch(49.1% 0.223 283.6)

  9. Step 800

    800

    #4933AE

    oklch(42.8% 0.185 283.5)

  10. Step 900

    900

    #3C2F89

    oklch(37.7% 0.143 283.7)

  11. Step 950

    950

    #231D50

    oklch(27.1% 0.09 284)

Export this scale for Tailwind in the Tailwind colors tool

#8E87FF 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)#5599FF0.074
Deuteranopia (no green cones)#5092FC0.073
Tritanopia (no blue cones)#69A0B70.147
Achromatopsia (no color)#9696960.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E87FF

    #8E87FF

    oklch(68.4% 0.172 283.5)

  • #AA9D00

    #AA9D00

    oklch(68.6% 0.145 103.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E87FF

    #8E87FF

    oklch(68.4% 0.172 283.5)

  • #419BFF

    #419BFF

    oklch(68.4% 0.171 253.6)

  • #BF75E4

    #BF75E4

    oklch(68.5% 0.173 313.4)

Open the analogous palette in the generator

Split complementary

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

  • #8E87FF

    #8E87FF

    oklch(68.4% 0.172 283.5)

  • #CE8900

    #CE8900

    oklch(68.3% 0.145 73.6)

  • #6CAF2F

    #6CAF2F

    oklch(68.4% 0.172 133.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E87FF

    #8E87FF

    oklch(68.4% 0.172 283.5)

  • #EE6F33

    #EE6F33

    oklch(68.5% 0.173 43.4)

  • #00B580

    #00B580

    oklch(68.4% 0.147 163.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E87FF

    #8E87FF

    oklch(68.4% 0.172 283.5)

  • #F0647A

    #F0647A

    oklch(68.4% 0.173 13.3)

  • #AA9D00

    #AA9D00

    oklch(68.6% 0.145 103.6)

  • #00B0AE

    #00B0AE

    oklch(68.5% 0.117 193.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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