#8E7DBA

Closest named color: Deep Lilac (#966EBD). oklch(62.9% 0.092 296.5), rgb(142, 125, 186).

Aa

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

About this color

#8E7DBA is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.092 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.041 away. Black text reads best on it, at 5.79:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.79:1
White text3.62:1

Values

HEX#8E7DBA
RGBrgb(142, 125, 186)
HSLhsl(257, 31%, 61%)
OKLCHoklch(62.9% 0.092 296.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 #8E7DBA 3.62:1 AA large text Lc -69.3 Content text, not long reading
Black text on #8E7DBA 5.79:1 AA Lc 40.3 Non-text elements, placeholder text
#8E7DBA text on white 3.62:1 AA large text Lc 63.8 Content text, not long reading
#8E7DBA text on black 5.79:1 AA Lc -37.9 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 500.

  1. Step 50

    50

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E8

    oklch(88.5% 0.025 296.1)

  4. Step 300

    300

    #C3BBDB

    oklch(80.9% 0.045 296.8)

  5. Step 400

    400

    #A498C9

    oklch(70.7% 0.072 295.7)

  6. Step 500

    500 (this color)

    #8E7DBA

    oklch(62.9% 0.092 296.5)

  7. Step 600

    600

    #7966A7

    oklch(55.6% 0.1 296.4)

  8. Step 700

    700

    #66558F

    oklch(49.2% 0.092 296.3)

  9. Step 800

    800

    #534674

    oklch(42.8% 0.076 296)

  10. Step 900

    900

    #453B5E

    oklch(37.8% 0.06 296.6)

  11. Step 950

    950

    #282237

    oklch(26.9% 0.039 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#8E7DBA 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)#6E87BC0.049
Deuteranopia (no green cones)#7186B80.046
Tritanopia (no blue cones)#8587930.075
Achromatopsia (no color)#8686860.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E7DBA

    #8E7DBA

    oklch(62.9% 0.092 296.5)

  • #85904D

    #85904D

    oklch(62.9% 0.092 116.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E7DBA

    #8E7DBA

    oklch(62.9% 0.092 296.5)

  • #6F87C1

    #6F87C1

    oklch(62.8% 0.092 266.6)

  • #A675A6

    #A675A6

    oklch(62.9% 0.091 326.6)

Open the analogous palette in the generator

Split complementary

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

  • #8E7DBA

    #8E7DBA

    oklch(62.9% 0.092 296.5)

  • #A18543

    #A18543

    oklch(62.9% 0.092 86.6)

  • #639867

    #639867

    oklch(62.9% 0.092 146.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E7DBA

    #8E7DBA

    oklch(62.9% 0.092 296.5)

  • #B37A50

    #B37A50

    oklch(62.9% 0.092 56.6)

  • #409B87

    #409B87

    oklch(62.9% 0.092 176.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E7DBA

    #8E7DBA

    oklch(62.9% 0.092 296.5)

  • #BA736B

    #BA736B

    oklch(63% 0.091 26.9)

  • #85904D

    #85904D

    oklch(62.9% 0.092 116.8)

  • #3498A4

    #3498A4

    oklch(62.8% 0.092 206.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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