#8E7EC6

Closest named color: Deep Lilac (#966EBD). oklch(63.6% 0.107 293.3), rgb(142, 126, 198).

Aa

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

About this color

#8E7EC6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.107 and its hue 293°. 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.94:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.94:1
White text3.52:1

Values

HEX#8E7EC6
RGBrgb(142, 126, 198)
HSLhsl(253, 39%, 64%)
OKLCHoklch(63.6% 0.107 293.3)

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 #8E7EC6 3.52:1 AA large text Lc -68.3 Content text, not long reading
Black text on #8E7EC6 5.94:1 AA Lc 41.3 Non-text elements, placeholder text
#8E7EC6 text on white 3.52:1 AA large text Lc 62.8 Content text, not long reading
#8E7EC6 text on black 5.94:1 AA Lc -38.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #D9D6EB

    oklch(88.5% 0.029 292.4)

  4. Step 300

    300

    #C1BBE0

    oklch(80.9% 0.052 292.6)

  5. Step 400

    400

    #A297D0

    oklch(70.7% 0.083 293)

  6. Step 500

    500 (this color)

    #8E7EC6

    oklch(63.6% 0.107 293.3)

  7. Step 600

    600

    #7765B1

    oklch(55.7% 0.116 293.2)

  8. Step 700

    700

    #645398

    oklch(49.1% 0.109 293.3)

  9. Step 800

    800

    #52447B

    oklch(42.7% 0.09 294)

  10. Step 900

    900

    #433A63

    oklch(37.7% 0.069 292.9)

  11. Step 950

    950

    #27223A

    oklch(26.9% 0.044 292.7)

Export this scale for Tailwind in the Tailwind colors tool

#8E7EC6 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)#6A89C90.054
Deuteranopia (no green cones)#6C87C40.051
Tritanopia (no blue cones)#828B990.089
Achromatopsia (no color)#8888880.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E7EC6

    #8E7EC6

    oklch(63.6% 0.107 293.3)

  • #8B923F

    #8B923F

    oklch(63.6% 0.107 113.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E7EC6

    #8E7EC6

    oklch(63.6% 0.107 293.3)

  • #698ACC

    #698ACC

    oklch(63.6% 0.107 263.4)

  • #AB74B0

    #AB74B0

    oklch(63.7% 0.107 323.8)

Open the analogous palette in the generator

Split complementary

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

  • #8E7EC6

    #8E7EC6

    oklch(63.6% 0.107 293.3)

  • #AA8535

    #AA8535

    oklch(63.7% 0.107 83.7)

  • #629C5F

    #629C5F

    oklch(63.7% 0.108 143.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E7EC6

    #8E7EC6

    oklch(63.6% 0.107 293.3)

  • #BD7849

    #BD7849

    oklch(63.6% 0.107 53.8)

  • #30A085

    #30A085

    oklch(63.6% 0.107 173.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E7EC6

    #8E7EC6

    oklch(63.6% 0.107 293.3)

  • #C4706C

    #C4706C

    oklch(63.7% 0.107 23.4)

  • #8B923F

    #8B923F

    oklch(63.6% 0.107 113.5)

  • #099EA8

    #099EA8

    oklch(63.7% 0.107 202.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8E7EC6.

Similar named colors

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

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