#8E87FB

Closest named color: Lavender Blue (#8B88F8). oklch(68.2% 0.167 283.8), rgb(142, 135, 251).

Aa

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

About this color

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

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

Values

HEX#8E87FB
RGBrgb(142, 135, 251)
HSLhsl(244, 94%, 76%)
OKLCHoklch(68.2% 0.167 283.8)

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 #8E87FB 2.99:1 Fails Lc -61.8 Content text, not long reading
Black text on #8E87FB 7.00:1 AAA Lc 47.6 Large or bold text, headings
#8E87FB text on white 2.99:1 Fails Lc 56.4 Large or bold text, headings
#8E87FB text on black 7.00:1 AAA Lc -45.3 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

    #E7E8FE

    oklch(93.7% 0.03 283.7)

  3. Step 200

    200

    #D4D5FF

    oklch(88.6% 0.058 284.1)

  4. Step 300

    300

    #B8B8FF

    oklch(80.8% 0.1 283.9)

  5. Step 400

    400 (this color)

    #8E87FB

    oklch(68.2% 0.167 283.8)

  6. Step 500

    500

    #7F6FFF

    oklch(63.1% 0.206 283.8)

  7. Step 600

    600

    #6B4FF2

    oklch(55.6% 0.231 283.8)

  8. Step 700

    700

    #5A3ED3

    oklch(49.1% 0.215 283.8)

  9. Step 800

    800

    #4935AB

    oklch(42.8% 0.179 283.6)

  10. Step 900

    900

    #3C3087

    oklch(37.7% 0.139 283.8)

  11. Step 950

    950

    #231D4F

    oklch(27% 0.088 284.2)

Export this scale for Tailwind in the Tailwind colors tool

#8E87FB 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)#5899FF0.071
Deuteranopia (no green cones)#5491F80.070
Tritanopia (no blue cones)#6C9FB50.143
Achromatopsia (no color)#9595950.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E87FB

    #8E87FB

    oklch(68.2% 0.167 283.8)

  • #A99C00

    #A99C00

    oklch(68.2% 0.144 103.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E87FB

    #8E87FB

    oklch(68.2% 0.167 283.8)

  • #449BFC

    #449BFC

    oklch(68.3% 0.166 253.5)

  • #BD76E0

    #BD76E0

    oklch(68.2% 0.166 313.6)

Open the analogous palette in the generator

Split complementary

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

  • #8E87FB

    #8E87FB

    oklch(68.2% 0.167 283.8)

  • #CD8900

    #CD8900

    oklch(68.2% 0.145 74)

  • #6CAE35

    #6CAE35

    oklch(68.2% 0.167 133.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E87FB

    #8E87FB

    oklch(68.2% 0.167 283.8)

  • #EA7036

    #EA7036

    oklch(68.1% 0.167 43.8)

  • #00B480

    #00B480

    oklch(68.2% 0.145 163.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E87FB

    #8E87FB

    oklch(68.2% 0.167 283.8)

  • #ED667A

    #ED667A

    oklch(68.2% 0.167 13.6)

  • #A99C00

    #A99C00

    oklch(68.2% 0.144 103.6)

  • #00AFAE

    #00AFAE

    oklch(68.2% 0.117 194)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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