#8E5ECC

Closest named color: Amethyst (#9B5FC0). oklch(58.3% 0.166 301.6), rgb(142, 94, 204).

Aa

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

About this color

#8E5ECC is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.166 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.030 away. Black text reads best on it, at 4.62:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.166)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.62:1
White text4.54:1

Values

HEX#8E5ECC
RGBrgb(142, 94, 204)
HSLhsl(266, 52%, 58%)
OKLCHoklch(58.3% 0.166 301.6)

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 #8E5ECC 4.54:1 AA Lc -76.7 Fine for body text
Black text on #8E5ECC 4.62:1 AA Lc 32.8 Non-text elements, placeholder text
#8E5ECC text on white 4.54:1 AA Lc 71.2 Content text, not long reading
#8E5ECC text on black 4.62:1 AA Lc -30.4 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 600.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300

    #C9B6EA

    oklch(81% 0.075 301.4)

  5. Step 400

    400

    #AE8EDF

    oklch(70.7% 0.12 301.6)

  6. Step 500

    500

    #9B70D6

    oklch(63.2% 0.153 301.6)

  7. Step 600

    600 (this color)

    #8E5ECC

    oklch(58.3% 0.166 301.6)

  8. Step 700

    700

    #7245A8

    oklch(49.1% 0.154 302)

  9. Step 800

    800

    #5C3A88

    oklch(42.7% 0.127 301.4)

  10. Step 900

    900

    #4C326D

    oklch(37.7% 0.1 302.2)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#8E5ECC 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)#3575D00.121
Deuteranopia (no green cones)#4476C90.112
Tritanopia (no blue cones)#82738C0.125
Achromatopsia (no color)#7676760.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E5ECC

    #8E5ECC

    oklch(58.3% 0.166 301.6)

  • #6E8700

    #6E8700

    oklch(58.3% 0.141 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E5ECC

    #8E5ECC

    oklch(58.3% 0.166 301.6)

  • #5A70DC

    #5A70DC

    oklch(58.3% 0.166 271.7)

  • #B14FA7

    #B14FA7

    oklch(58.3% 0.167 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #8E5ECC

    #8E5ECC

    oklch(58.3% 0.166 301.6)

  • #957800

    #957800

    oklch(58.4% 0.119 91.8)

  • #009449

    #009449

    oklch(58.4% 0.155 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E5ECC

    #8E5ECC

    oklch(58.3% 0.166 301.6)

  • #B36500

    #B36500

    oklch(58.3% 0.135 61.3)

  • #008F7F

    #008F7F

    oklch(58.3% 0.105 181.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E5ECC

    #8E5ECC

    oklch(58.3% 0.166 301.6)

  • #CB4B37

    #CB4B37

    oklch(58.4% 0.167 31.4)

  • #6E8700

    #6E8700

    oklch(58.3% 0.141 121.7)

  • #008B9E

    #008B9E

    oklch(58.4% 0.102 211.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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