#8E4DE6#8E4DE6
#8E4DE6 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.220 H 298.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8E4DE6 |
|---|---|
| RGB | rgb(142, 77, 230) |
| HSL | hsl(265, 75%, 60%) |
| HSV | hsv(265, 67%, 90%) |
| CMYK | cmyk(38.3%, 66.5%, 0%, 9.8%) |
| CIE-LAB | lab(47.97, 57.31, -67.59) |
| CIE-LCH | lch(47.97, 88.61, 310.30°) |
| OKLab | oklab(57.66% 0.1058 -0.1927) |
| OKLCH | oklch(57.66% 0.22 298.8) |
| XYZ | xyz(28.0885, 16.7713, 76.6049) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.24
Lightish Purple
#A552E6
ΔE00 4.65
Lighter Purple
#A55AF4
ΔE00 6.00
Electric Purple
#AA23FF
ΔE00 6.02
Blueviolet
#8A2BE2
ΔE00 6.35
Bluish Purple
#703BE7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E4DE6 #A5E64D
analogous
#4D59E6 #8E4DE6 #DA4DE6
triadic
#8E4DE6 #E68E4D #4DE68E
tetradic
#8E4DE6 #E64D59 #A5E64D #4DE6DA
square
#8E4DE6 #E64D59 #A5E64D #4DE6DA
split-complementary
#8E4DE6 #E6DA4D #59E64D
monochromatic
#5217A2 #6D1ED8 #8E4DE6 #B083EE #D2B8F5
Accessibility & contrast
On white
4.82
#8E4DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#8E4DE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8E4DE6
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E4DE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E4DE6 | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#797193
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8e4de6; /* rgb */ color: rgb(142, 77, 230); /* oklch */ color: oklch(57.7% 0.220 298.8);
Tailwind
colors: {
custom: {
50: '#b583ef',
500: '#8e4de6',
950: '#000000',
},
}SCSS
$custom: #8e4de6; $custom-light: #b583ef; $custom-dark: #000000;
JSON
{
"hex": "#8e4de6",
"rgb": {
"r": 142,
"g": 77,
"b": 230
},
"hsl": {
"h": 265.49,
"s": 75.369,
"l": 60.196
},
"oklch": {
"l": 0.57658,
"c": 0.21981,
"h": 298.8
},
"luminance": 0.16772
}Semantic roles & 50–950 ramp
primary
#8E4DE6
secondary
#CCE5AA
accent
#D80E82
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85