#9E4DE2#9E4DE2
#9E4DE2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.1% C 0.219 H 305.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9E4DE2 |
|---|---|
| RGB | rgb(158, 77, 226) |
| HSL | hsl(273, 72%, 59%) |
| HSV | hsv(273, 66%, 89%) |
| CMYK | cmyk(30.1%, 65.9%, 0%, 11.4%) |
| CIE-LAB | lab(49.58, 59.57, -62.63) |
| CIE-LCH | lch(49.58, 86.43, 313.56°) |
| OKLab | oklab(59.14% 0.1274 -0.1776) |
| OKLCH | oklch(59.14% 0.219 305.6) |
| XYZ | xyz(30.4789, 18.0681, 73.8186) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.01
Purpley
#8756E4
ΔE00 4.40
Lighter Purple
#A55AF4
ΔE00 4.46
Electric Purple
#AA23FF
ΔE00 5.49
Neon Purple
#BC13FE
ΔE00 6.29
Bright Violet
#AD0AFD
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E4DE2 #91E24D
analogous
#534DE2 #9E4DE2 #E24DDC
triadic
#9E4DE2 #E29E4D #4DE29E
tetradic
#9E4DE2 #E2534D #91E24D #4DDCE2
square
#9E4DE2 #E2534D #91E24D #4DDCE2
split-complementary
#9E4DE2 #DCE24D #4DE253
monochromatic
#60199B #8022D0 #9E4DE2 #BB82EB #D7B6F3
Accessibility & contrast
On white
4.55
#9E4DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#9E4DE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E4DE2
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E4DE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E4DE2 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#2276DF
Tritanopia (blue-blind)
#926E91
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9e4de2; /* rgb */ color: rgb(158, 77, 226); /* oklch */ color: oklch(59.1% 0.219 305.6);
Tailwind
colors: {
custom: {
50: '#bf84ec',
500: '#9e4de2',
950: '#000000',
},
}SCSS
$custom: #9e4de2; $custom-light: #bf84ec; $custom-dark: #000000;
JSON
{
"hex": "#9e4de2",
"rgb": {
"r": 158,
"g": 77,
"b": 226
},
"hsl": {
"h": 272.617,
"s": 71.981,
"l": 59.412
},
"oklch": {
"l": 0.59141,
"c": 0.21856,
"h": 305.6
},
"luminance": 0.18068
}Semantic roles & 50–950 ramp
primary
#9E4DE2
secondary
#C3E2A8
accent
#EF398C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84