#8E52CC

Closest named color: Purpley (#8756E4). oklch(56.5% 0.184 303.7), rgb(142, 82, 204).

Aa

White text reads best on this color (4.96:1).

About this color

#8E52CC is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.184 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.039 away. White text reads best on it, at 4.96:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.184)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.22:1
White text4.96:1

Values

HEX#8E52CC
RGBrgb(142, 82, 204)
HSLhsl(270, 54%, 56%)
OKLCHoklch(56.5% 0.184 303.7)

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 #8E52CC 4.96:1 AA Lc -79.3 Fine for body text
Black text on #8E52CC 4.22:1 AA large text Lc 30.2 Non-text elements, placeholder text
#8E52CC text on white 4.96:1 AA Lc 73.9 Content text, not long reading
#8E52CC text on black 4.22:1 AA large text Lc -27.8 Dividers and decoration only

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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #DFD2F3

    oklch(88.4% 0.047 303.3)

  4. Step 300

    300

    #CCB4ED

    oklch(81% 0.083 303.8)

  5. Step 400

    400

    #B28BE4

    oklch(70.8% 0.132 303.4)

  6. Step 500

    500

    #A06BDB

    oklch(63.1% 0.168 303.8)

  7. Step 600

    600 (this color)

    #8E52CC

    oklch(56.5% 0.184 303.7)

  8. Step 700

    700

    #763FAE

    oklch(49.1% 0.171 303.5)

  9. Step 800

    800

    #60358D

    oklch(42.7% 0.142 303.4)

  10. Step 900

    900

    #4E2F70

    oklch(37.6% 0.11 303.6)

  11. Step 950

    950

    #2E1C42

    oklch(27% 0.071 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#8E52CC 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)#136ED00.148
Deuteranopia (no green cones)#3470C90.133
Tritanopia (no blue cones)#836B870.136
Achromatopsia (no color)#7070700.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E52CC

    #8E52CC

    oklch(56.5% 0.184 303.7)

  • #668300

    #668300

    oklch(56.7% 0.14 123.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E52CC

    #8E52CC

    oklch(56.5% 0.184 303.7)

  • #5766E0

    #5766E0

    oklch(56.5% 0.184 273.7)

  • #B241A2

    #B241A2

    oklch(56.5% 0.184 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #8E52CC

    #8E52CC

    oklch(56.5% 0.184 303.7)

  • #8D7400

    #8D7400

    oklch(56.6% 0.116 93.9)

  • #008D4C

    #008D4C

    oklch(56.4% 0.143 153.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E52CC

    #8E52CC

    oklch(56.5% 0.184 303.7)

  • #A96200

    #A96200

    oklch(56.4% 0.128 63.4)

  • #00897C

    #00897C

    oklch(56.6% 0.101 183.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E52CC

    #8E52CC

    oklch(56.5% 0.184 303.7)

  • #CB3D1E

    #CB3D1E

    oklch(56.5% 0.184 33.7)

  • #668300

    #668300

    oklch(56.7% 0.14 123.7)

  • #008499

    #008499

    oklch(56.4% 0.099 214)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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