#8C87F4

Closest named color: Lavender Blue (#8B88F8). oklch(67.6% 0.158 283.4), rgb(140, 135, 244).

Aa

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

About this color

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

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

Values

HEX#8C87F4
RGBrgb(140, 135, 244)
HSLhsl(243, 83%, 74%)
OKLCHoklch(67.6% 0.158 283.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 #8C87F4 3.04:1 AA large text Lc -62.5 Content text, not long reading
Black text on #8C87F4 6.88:1 AA Lc 46.9 Large or bold text, headings
#8C87F4 text on white 3.04:1 AA large text Lc 57.2 Large or bold text, headings
#8C87F4 text on black 6.88:1 AA Lc -44.6 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D4D5FD

    oklch(88.5% 0.055 284.1)

  4. Step 300

    300

    #B8B9FF

    oklch(81% 0.098 283.3)

  5. Step 400

    400 (this color)

    #8C87F4

    oklch(67.6% 0.158 283.4)

  6. Step 500

    500

    #7E70FD

    oklch(63.1% 0.202 283.4)

  7. Step 600

    600

    #6A53EC

    oklch(55.6% 0.219 283.5)

  8. Step 700

    700

    #5942CD

    oklch(49.1% 0.204 283.5)

  9. Step 800

    800

    #4838A6

    oklch(42.7% 0.169 283.2)

  10. Step 900

    900

    #3C3283

    oklch(37.7% 0.131 283.8)

  11. Step 950

    950

    #221E4D

    oklch(26.9% 0.084 283.1)

Export this scale for Tailwind in the Tailwind colors tool

#8C87F4 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)#5D97F80.064
Deuteranopia (no green cones)#5890F20.064
Tritanopia (no blue cones)#6C9DB20.135
Achromatopsia (no color)#9494940.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C87F4

    #8C87F4

    oklch(67.6% 0.158 283.4)

  • #A79A00

    #A79A00

    oklch(67.6% 0.142 103.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C87F4

    #8C87F4

    oklch(67.6% 0.158 283.4)

  • #4899F5

    #4899F5

    oklch(67.6% 0.158 253.6)

  • #B977DB

    #B977DB

    oklch(67.7% 0.157 313.3)

Open the analogous palette in the generator

Split complementary

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

  • #8C87F4

    #8C87F4

    oklch(67.6% 0.158 283.4)

  • #CB8700

    #CB8700

    oklch(67.6% 0.144 73.6)

  • #6EAB3B

    #6EAB3B

    oklch(67.6% 0.157 133.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C87F4

    #8C87F4

    oklch(67.6% 0.158 283.4)

  • #E5723D

    #E5723D

    oklch(67.8% 0.158 43.7)

  • #00B27E

    #00B27E

    oklch(67.6% 0.145 163.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C87F4

    #8C87F4

    oklch(67.6% 0.158 283.4)

  • #E7687A

    #E7687A

    oklch(67.6% 0.158 13.6)

  • #A79A00

    #A79A00

    oklch(67.6% 0.142 103.5)

  • #00ADAB

    #00ADAB

    oklch(67.6% 0.116 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 #8C87F4, closest first.

Similar named colors

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

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