#8E4FE0#8E4FE0
#8E4FE0 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.211 H 299.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FE0 |
|---|---|
| RGB | rgb(142, 79, 224) |
| HSL | hsl(266, 70%, 59%) |
| HSV | hsv(266, 65%, 88%) |
| CMYK | cmyk(36.6%, 64.7%, 0%, 12.2%) |
| CIE-LAB | lab(47.91, 54.83, -64.29) |
| CIE-LCH | lch(47.91, 84.49, 310.46°) |
| OKLab | oklab(57.48% 0.1044 -0.183) |
| OKLCH | oklch(57.48% 0.211 299.7) |
| XYZ | xyz(27.4025, 16.7243, 72.2910) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.16
Lightish Purple
#A552E6
ΔE00 4.51
Lighter Purple
#A55AF4
ΔE00 6.07
Electric Purple
#AA23FF
ΔE00 6.55
Blueviolet
#8A2BE2
ΔE00 6.61
Darkorchid
#9932CC
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FE0 #A1E04F
analogous
#4F59E0 #8E4FE0 #D74FE0
triadic
#8E4FE0 #E08E4F #4FE08E
tetradic
#8E4FE0 #E04F59 #A1E04F #4FE0D7
square
#8E4FE0 #E04F59 #A1E04F #4FE0D7
split-complementary
#8E4FE0 #E0D74F #59E04F
monochromatic
#521B9A #6E24CE #8E4FE0 #AF83E9 #D1B7F2
Accessibility & contrast
On white
4.83
#8E4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#8E4FE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FE0
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FE0 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#7C7091
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8e4fe0; /* rgb */ color: rgb(142, 79, 224); /* oklch */ color: oklch(57.5% 0.211 299.7);
Tailwind
colors: {
custom: {
50: '#b584eb',
500: '#8e4fe0',
950: '#000000',
},
}SCSS
$custom: #8e4fe0; $custom-light: #b584eb; $custom-dark: #000000;
JSON
{
"hex": "#8e4fe0",
"rgb": {
"r": 142,
"g": 79,
"b": 224
},
"hsl": {
"h": 266.069,
"s": 70.048,
"l": 59.412
},
"oklch": {
"l": 0.57482,
"c": 0.21066,
"h": 299.7
},
"luminance": 0.16725
}Semantic roles & 50–950 ramp
primary
#8E4FE0
secondary
#C9E2A9
accent
#ED3BA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84