#8E52DC
Closest named color: Purpley (#8756E4). oklch(57.6% 0.202 300.1), rgb(142, 82, 220).
Aa
White text reads best on this color (4.78:1).
About this color
#8E52DC is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.202 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.018 away. White text reads best on it, at 4.78:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.202) |
| Temperature | in between |
| Nearest name | Purpley (#8756E4) |
| Black text | 4.39:1 |
| White text | 4.78:1 |
Values
| HEX | #8E52DC |
| RGB | rgb(142, 82, 220) |
| HSL | hsl(266, 66%, 59%) |
| OKLCH | oklch(57.6% 0.202 300.1) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #8E52DC | 4.78:1 | AA | Lc -78.1 | Fine for body text |
| Black text on #8E52DC | 4.39:1 | AA large text | Lc 31.4 | Non-text elements, placeholder text |
| #8E52DC text on white | 4.78:1 | AA | Lc 72.7 | Content text, not long reading |
| #8E52DC text on black | 4.39:1 | AA large text | Lc -29.0 | 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.
-
Step 50
50
#F6F4FD
oklch(97.1% 0.012 296.4)
-
Step 100
100
#ECE6F9
oklch(93.5% 0.026 300.3)
-
Step 200
200
#DED2F6
oklch(88.5% 0.051 300.6)
-
Step 300
300
#C9B4F3
oklch(80.9% 0.09 299.7)
-
Step 400
400
#AF8AED
oklch(70.8% 0.145 299.9)
-
Step 500
500
#9C68E7
oklch(63% 0.186 300)
-
Step 600
600 (this color)
#8E52DC
oklch(57.6% 0.202 300.1)
-
Step 700
700
#743BB9
oklch(49.1% 0.189 300.2)
-
Step 800
800
#5E3295
oklch(42.6% 0.155 300.3)
-
Step 900
900
#4D2E77
oklch(37.8% 0.121 300.3)
-
Step 950
950
#2D1C46
oklch(27.1% 0.076 300)
#8E52DC 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #0072E0 | 0.149 |
| Deuteranopia (no green cones) | #1771D9 | 0.145 |
| Tritanopia (no blue cones) | #7D7090 | 0.152 |
| Achromatopsia (no color) | #727272 | 0.204 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #8E52DC
#8E52DC
oklch(57.6% 0.202 300.1)
- #6F8400
#6F8400
oklch(57.6% 0.137 120.2)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #8E52DC, closest first.
No curated palette has a color within ΔE 0.04 of #8E52DC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley #8756E4 ΔE 0.018
- Lighter Purple #A55AF4 ΔE 0.056
- Medium Slate Blue #7B68EE ΔE 0.058
- Light Indigo #6D5ACF ΔE 0.060
- Dark Orchid #9932CC ΔE 0.061
- Amethyst #9B5FC0 ΔE 0.061
- Blue Violet #8A2BE2 ΔE 0.064
- Slate Blue #6A5ACD ΔE 0.065
Use #8E52DC 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.