#8E4FE1#8E4FE1
#8E4FE1 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.212 H 299.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FE1 |
|---|---|
| RGB | rgb(142, 79, 225) |
| HSL | hsl(266, 71%, 60%) |
| HSV | hsv(266, 65%, 88%) |
| CMYK | cmyk(36.9%, 64.9%, 0%, 11.8%) |
| CIE-LAB | lab(47.98, 55.08, -64.74) |
| CIE-LCH | lch(47.98, 85.00, 310.39°) |
| OKLab | oklab(57.55% 0.1043 -0.1843) |
| OKLCH | oklch(57.55% 0.212 299.5) |
| XYZ | xyz(27.5386, 16.7787, 73.0073) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.09
Lightish Purple
#A552E6
ΔE00 4.49
Lighter Purple
#A55AF4
ΔE00 6.00
Electric Purple
#AA23FF
ΔE00 6.50
Blueviolet
#8A2BE2
ΔE00 6.63
Darkorchid
#9932CC
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FE1 #A2E14F
analogous
#4F59E1 #8E4FE1 #D74FE1
triadic
#8E4FE1 #E18E4F #4FE18E
tetradic
#8E4FE1 #E14F59 #A2E14F #4FE1D7
square
#8E4FE1 #E14F59 #A2E14F #4FE1D7
split-complementary
#8E4FE1 #E1D74F #59E14F
monochromatic
#521A9B #6E23CF #8E4FE1 #B083EA #D1B8F3
Accessibility & contrast
On white
4.82
#8E4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#8E4FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FE1
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FE1 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#7B7091
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8e4fe1; /* rgb */ color: rgb(142, 79, 225); /* oklch */ color: oklch(57.6% 0.212 299.5);
Tailwind
colors: {
custom: {
50: '#b584eb',
500: '#8e4fe1',
950: '#000000',
},
}SCSS
$custom: #8e4fe1; $custom-light: #b584eb; $custom-dark: #000000;
JSON
{
"hex": "#8e4fe1",
"rgb": {
"r": 142,
"g": 79,
"b": 225
},
"hsl": {
"h": 265.89,
"s": 70.874,
"l": 59.608
},
"oklch": {
"l": 0.57554,
"c": 0.21177,
"h": 299.5
},
"luminance": 0.16779
}Semantic roles & 50–950 ramp
primary
#8E4FE1
secondary
#CAE2AA
accent
#EE3AA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84