#8E52DE#8E52DE
#8E52DE is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.204 H 299.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8E52DE |
|---|---|
| RGB | rgb(142, 82, 222) |
| HSL | hsl(266, 68%, 60%) |
| HSV | hsv(266, 63%, 87%) |
| CMYK | cmyk(36%, 63.1%, 0%, 12.9%) |
| CIE-LAB | lab(48.33, 52.81, -62.47) |
| CIE-LCH | lch(48.33, 81.80, 310.21°) |
| OKLab | oklab(57.75% 0.1012 -0.1776) |
| OKLCH | oklch(57.75% 0.204 299.7) |
| XYZ | xyz(27.3542, 17.0590, 70.9447) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.89
Lightish Purple
#A552E6
ΔE00 4.32
Lighter Purple
#A55AF4
ΔE00 5.77
Light Indigo
#6D5ACF
ΔE00 6.56
Electric Purple
#AA23FF
ΔE00 7.08
Darkorchid
#9932CC
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E52DE #A2DE52
analogous
#525CDE #8E52DE #D452DE
triadic
#8E52DE #DE8E52 #52DE8E
tetradic
#8E52DE #DE525C #A2DE52 #52DED4
square
#8E52DE #DE525C #A2DE52 #52DED4
split-complementary
#8E52DE #DED452 #5CDE52
monochromatic
#521D99 #6E27CC #8E52DE #B085E8 #D1B9F2
Accessibility & contrast
On white
4.76
#8E52DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#8E52DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E52DE
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E52DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E52DE | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#1172DB
Tritanopia (blue-blind)
#7C7191
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8e52de; /* rgb */ color: rgb(142, 82, 222); /* oklch */ color: oklch(57.7% 0.204 299.7);
Tailwind
colors: {
custom: {
50: '#b486e9',
500: '#8e52de',
950: '#000000',
},
}SCSS
$custom: #8e52de; $custom-light: #b486e9; $custom-dark: #000000;
JSON
{
"hex": "#8e52de",
"rgb": {
"r": 142,
"g": 82,
"b": 222
},
"hsl": {
"h": 265.714,
"s": 67.961,
"l": 59.608
},
"oklch": {
"l": 0.57745,
"c": 0.20447,
"h": 299.7
},
"luminance": 0.17059
}Semantic roles & 50–950 ramp
primary
#8E52DE
secondary
#CAE1AB
accent
#EB3DA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84