#9E50E4#9E50E4
#9E50E4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.217 H 304.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9E50E4 |
|---|---|
| RGB | rgb(158, 80, 228) |
| HSL | hsl(272, 73%, 60%) |
| HSV | hsv(272, 65%, 89%) |
| CMYK | cmyk(30.7%, 64.9%, 0%, 10.6%) |
| CIE-LAB | lab(50.23, 58.61, -62.72) |
| CIE-LCH | lch(50.23, 85.84, 313.06°) |
| OKLab | oklab(59.65% 0.1239 -0.1779) |
| OKLCH | oklch(59.65% 0.217 304.9) |
| XYZ | xyz(30.9697, 18.6080, 75.3439) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.50
Lighter Purple
#A55AF4
ΔE00 3.75
Purpley
#8756E4
ΔE00 4.21
Electric Purple
#AA23FF
ΔE00 5.87
Neon Purple
#BC13FE
ΔE00 6.58
Amethyst
#9B5FC0
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E50E4 #96E450
analogous
#5450E4 #9E50E4 #E450E0
triadic
#9E50E4 #E49E50 #50E49E
tetradic
#9E50E4 #E45450 #96E450 #50E0E4
square
#9E50E4 #E45450 #96E450 #50E0E4
split-complementary
#9E50E4 #E0E450 #50E454
monochromatic
#6019A1 #8021D6 #9E50E4 #BB85EC #D9BAF4
Accessibility & contrast
On white
4.45
#9E50E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#9E50E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E50E4
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E50E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E50E4 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#2478E1
Tritanopia (blue-blind)
#917093
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9e50e4; /* rgb */ color: rgb(158, 80, 228); /* oklch */ color: oklch(59.6% 0.217 304.9);
Tailwind
colors: {
custom: {
50: '#bf86ed',
500: '#9e50e4',
950: '#000000',
},
}SCSS
$custom: #9e50e4; $custom-light: #bf86ed; $custom-dark: #000000;
JSON
{
"hex": "#9e50e4",
"rgb": {
"r": 158,
"g": 80,
"b": 228
},
"hsl": {
"h": 271.622,
"s": 73.267,
"l": 60.392
},
"oklch": {
"l": 0.59648,
"c": 0.21679,
"h": 304.9
},
"luminance": 0.18608
}Semantic roles & 50–950 ramp
primary
#9E50E4
secondary
#C6E4AC
accent
#D5106D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84