#8E4FE9#8E4FE9
#8E4FE9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.221 H 297.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4FE9 |
|---|---|
| RGB | rgb(142, 79, 233) |
| HSL | hsl(265, 78%, 61%) |
| HSV | hsv(265, 66%, 91%) |
| CMYK | cmyk(39.1%, 66.1%, 0%, 8.6%) |
| CIE-LAB | lab(48.54, 57.07, -68.35) |
| CIE-LCH | lch(48.54, 89.04, 309.86°) |
| OKLab | oklab(58.14% 0.1033 -0.195) |
| OKLCH | oklch(58.14% 0.221 297.9) |
| XYZ | xyz(28.6555, 17.2255, 78.8901) |
| Luminance | 0.1723 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.88
Lightish Purple
#A552E6
ΔE00 4.50
Lighter Purple
#A55AF4
ΔE00 5.53
Electric Purple
#AA23FF
ΔE00 6.19
Blueviolet
#8A2BE2
ΔE00 6.92
Bluish Purple
#703BE7
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4FE9 #AAE94F
analogous
#4F5DE9 #8E4FE9 #DB4FE9
triadic
#8E4FE9 #E98E4F #4FE98E
tetradic
#8E4FE9 #E94F5D #AAE94F #4FE9DB
square
#8E4FE9 #E94F5D #AAE94F #4FE9DB
split-complementary
#8E4FE9 #E9DB4F #5DE94F
monochromatic
#5115A9 #6C1CDF #8E4FE9 #B185F0 #D4BCF7
Accessibility & contrast
On white
4.72
#8E4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#8E4FE9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4FE9
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4FE9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4FE9 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#787396
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8e4fe9; /* rgb */ color: rgb(142, 79, 233); /* oklch */ color: oklch(58.1% 0.221 297.9);
Tailwind
colors: {
custom: {
50: '#b584f1',
500: '#8e4fe9',
950: '#000000',
},
}SCSS
$custom: #8e4fe9; $custom-light: #b584f1; $custom-dark: #000000;
JSON
{
"hex": "#8e4fe9",
"rgb": {
"r": 142,
"g": 79,
"b": 233
},
"hsl": {
"h": 264.545,
"s": 77.778,
"l": 61.176
},
"oklch": {
"l": 0.58136,
"c": 0.22065,
"h": 297.9
},
"luminance": 0.17226
}Semantic roles & 50–950 ramp
primary
#8E4FE9
secondary
#CFE7AD
accent
#DA0B86
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85