#8E5DEC

Closest named color: Purpley (#8756E4). oklch(60.3% 0.206 295.3), rgb(142, 93, 236).

Aa

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

About this color

#8E5DEC is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.206 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.023 away. Black text reads best on it, at 4.92:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.206)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.92:1
White text4.26:1

Values

HEX#8E5DEC
RGBrgb(142, 93, 236)
HSLhsl(261, 79%, 65%)
OKLCHoklch(60.3% 0.206 295.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 #8E5DEC 4.26:1 AA large text Lc -74.5 Content text, not long reading
Black text on #8E5DEC 4.92:1 AA Lc 35.1 Non-text elements, placeholder text
#8E5DEC text on white 4.26:1 AA large text Lc 69.0 Content text, not long reading
#8E5DEC text on black 4.92:1 AA Lc -32.7 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200

    #DBD2FB

    oklch(88.4% 0.057 295.3)

  4. Step 300

    300

    #C5B4FB

    oklch(80.9% 0.1 295.1)

  5. Step 400

    400

    #A989F9

    oklch(70.7% 0.161 295.1)

  6. Step 500

    500 (this color)

    #8E5DEC

    oklch(60.3% 0.206 295.3)

  7. Step 600

    600

    #8247E5

    oklch(55.6% 0.225 295.2)

  8. Step 700

    700

    #6F37C7

    oklch(49.2% 0.208 295.4)

  9. Step 800

    800

    #5A2FA1

    oklch(42.7% 0.173 295.4)

  10. Step 900

    900

    #492C7F

    oklch(37.6% 0.134 295.3)

  11. Step 950

    950

    #2B1B4B

    oklch(27.1% 0.085 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#8E5DEC 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)#007CF10.139
Deuteranopia (no green cones)#0878E90.138
Tritanopia (no blue cones)#767D9C0.162
Achromatopsia (no color)#7B7B7B0.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E5DEC

    #8E5DEC

    oklch(60.3% 0.206 295.3)

  • #7F8A00

    #7F8A00

    oklch(60.4% 0.137 115.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E5DEC

    #8E5DEC

    oklch(60.3% 0.206 295.3)

  • #4475FA

    #4475FA

    oklch(60.3% 0.206 265.4)

  • #BB48C2

    #BB48C2

    oklch(60.2% 0.206 325.4)

Open the analogous palette in the generator

Split complementary

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

  • #8E5DEC

    #8E5DEC

    oklch(60.3% 0.206 295.3)

  • #A27A00

    #A27A00

    oklch(60.2% 0.123 85.5)

  • #009C2C

    #009C2C

    oklch(60.2% 0.188 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E5DEC

    #8E5DEC

    oklch(60.3% 0.206 295.3)

  • #C26400

    #C26400

    oklch(60.3% 0.149 55.3)

  • #00977E

    #00977E

    oklch(60.4% 0.113 175.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E5DEC

    #8E5DEC

    oklch(60.3% 0.206 295.3)

  • #E2383B

    #E2383B

    oklch(60.3% 0.206 25.2)

  • #7F8A00

    #7F8A00

    oklch(60.4% 0.137 115.3)

  • #00929F

    #00929F

    oklch(60.3% 0.103 205.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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