#8B87FE

Closest named color: Lavender Blue (#8B88F8). oklch(68.1% 0.171 282.4), rgb(139, 135, 254).

Aa

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

About this color

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

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

Values

HEX#8B87FE
RGBrgb(139, 135, 254)
HSLhsl(242, 98%, 76%)
OKLCHoklch(68.1% 0.171 282.4)

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 #8B87FE 3.00:1 AA large text Lc -61.9 Content text, not long reading
Black text on #8B87FE 6.99:1 AA Lc 47.5 Large or bold text, headings
#8B87FE text on white 3.00:1 AA large text Lc 56.5 Large or bold text, headings
#8B87FE text on black 6.99:1 AA 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

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300

    #B6B9FF

    oklch(80.9% 0.099 282.1)

  5. Step 400

    400 (this color)

    #8B87FE

    oklch(68.1% 0.171 282.4)

  6. Step 500

    500

    #7C70FF

    oklch(63.1% 0.205 282.6)

  7. Step 600

    600

    #684EF7

    oklch(55.6% 0.238 282.4)

  8. Step 700

    700

    #573DD7

    oklch(49.1% 0.221 282.3)

  9. Step 800

    800

    #4734AE

    oklch(42.7% 0.184 282.4)

  10. Step 900

    900

    #3A3089

    oklch(37.7% 0.142 282.2)

  11. Step 950

    950

    #221D50

    oklch(27% 0.09 283)

Export this scale for Tailwind in the Tailwind colors tool

#8B87FE 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.071
Deuteranopia (no green cones)#4F91FB0.070
Tritanopia (no blue cones)#64A0B60.148
Achromatopsia (no color)#9595950.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #8B87FE

    #8B87FE

    oklch(68.1% 0.171 282.4)

  • #AA9B00

    #AA9B00

    oklch(68.1% 0.143 102.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8B87FE

    #8B87FE

    oklch(68.1% 0.171 282.4)

  • #3B9BFE

    #3B9BFE

    oklch(68.1% 0.171 252.4)

  • #BC75E4

    #BC75E4

    oklch(68.2% 0.172 312.2)

Open the analogous palette in the generator

Split complementary

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

  • #8B87FE

    #8B87FE

    oklch(68.1% 0.171 282.4)

  • #CF8800

    #CF8800

    oklch(68.3% 0.146 72.5)

  • #6EAE2B

    #6EAE2B

    oklch(68.2% 0.172 132.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8B87FE

    #8B87FE

    oklch(68.1% 0.171 282.4)

  • #ED6E36

    #ED6E36

    oklch(68.2% 0.172 42.4)

  • #00B47D

    #00B47D

    oklch(68.1% 0.148 162.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8B87FE

    #8B87FE

    oklch(68.1% 0.171 282.4)

  • #EE647C

    #EE647C

    oklch(68.2% 0.171 12.2)

  • #AA9B00

    #AA9B00

    oklch(68.1% 0.143 102.6)

  • #00AFAC

    #00AFAC

    oklch(68.2% 0.117 192.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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