#8E6CEA

Closest named color: Medium Purple (#9370DB). oklch(62.5% 0.183 292.8), rgb(142, 108, 234).

Aa

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

About this color

#8E6CEA is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.183 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.027 away. Black text reads best on it, at 5.48:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.183)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.48:1
White text3.82:1

Values

HEX#8E6CEA
RGBrgb(142, 108, 234)
HSLhsl(256, 75%, 67%)
OKLCHoklch(62.5% 0.183 292.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 #8E6CEA 3.82:1 AA large text Lc -71.0 Content text, not long reading
Black text on #8E6CEA 5.48:1 AA Lc 38.6 Non-text elements, placeholder text
#8E6CEA text on white 3.82:1 AA large text Lc 65.5 Content text, not long reading
#8E6CEA text on black 5.48:1 AA Lc -36.2 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #EAE7FA

    oklch(93.6% 0.026 293.1)

  3. Step 200

    200

    #DAD4F8

    oklch(88.6% 0.049 293)

  4. Step 300

    300

    #C2B6F6

    oklch(80.9% 0.09 292.9)

  5. Step 400

    400

    #A48EF1

    oklch(70.7% 0.143 292.6)

  6. Step 500

    500 (this color)

    #8E6CEA

    oklch(62.5% 0.183 292.8)

  7. Step 600

    600

    #7B52DA

    oklch(55.5% 0.198 292.7)

  8. Step 700

    700

    #6841BE

    oklch(49.1% 0.186 292.6)

  9. Step 800

    800

    #553799

    oklch(42.7% 0.152 292.9)

  10. Step 900

    900

    #45317A

    oklch(37.7% 0.119 292.4)

  11. Step 950

    950

    #281D47

    oklch(26.8% 0.076 292.7)

Export this scale for Tailwind in the Tailwind colors tool

#8E6CEA 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)#3184EE0.113
Deuteranopia (no green cones)#3980E70.107
Tritanopia (no blue cones)#7686A10.147
Achromatopsia (no color)#8282820.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E6CEA

    #8E6CEA

    oklch(62.5% 0.183 292.8)

  • #898F00

    #898F00

    oklch(62.4% 0.139 112.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E6CEA

    #8E6CEA

    oklch(62.5% 0.183 292.8)

  • #4981F4

    #4981F4

    oklch(62.5% 0.183 262.8)

  • #BA5AC6

    #BA5AC6

    oklch(62.5% 0.183 323.1)

Open the analogous palette in the generator

Split complementary

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

  • #8E6CEA

    #8E6CEA

    oklch(62.5% 0.183 292.8)

  • #AD7F00

    #AD7F00

    oklch(62.5% 0.129 83)

  • #30A22E

    #30A22E

    oklch(62.6% 0.184 142.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E6CEA

    #8E6CEA

    oklch(62.5% 0.183 292.8)

  • #CF6600

    #CF6600

    oklch(62.4% 0.159 52.6)

  • #009F80

    #009F80

    oklch(62.6% 0.121 172.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E6CEA

    #8E6CEA

    oklch(62.5% 0.183 292.8)

  • #E04E51

    #E04E51

    oklch(62.5% 0.182 22.9)

  • #898F00

    #898F00

    oklch(62.4% 0.139 112.7)

  • #009AA4

    #009AA4

    oklch(62.5% 0.106 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 #8E6CEA, closest first.

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

Similar named colors

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

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