#9E4FE5#9E4FE5
#9E4FE5 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.219 H 304.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9E4FE5 |
|---|---|
| RGB | rgb(158, 79, 229) |
| HSL | hsl(272, 74%, 60%) |
| HSV | hsv(272, 66%, 90%) |
| CMYK | cmyk(31%, 65.5%, 0%, 10.2%) |
| CIE-LAB | lab(50.12, 59.31, -63.45) |
| CIE-LCH | lch(50.12, 86.86, 313.07°) |
| OKLab | oklab(59.59% 0.1249 -0.18) |
| OKLCH | oklch(59.59% 0.219 304.8) |
| XYZ | xyz(31.0362, 18.5184, 76.0529) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.62
Lighter Purple
#A55AF4
ΔE00 3.83
Purpley
#8756E4
ΔE00 4.20
Electric Purple
#AA23FF
ΔE00 5.66
Neon Purple
#BC13FE
ΔE00 6.42
Bright Violet
#AD0AFD
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E4FE5 #96E54F
analogous
#534FE5 #9E4FE5 #E54FE1
triadic
#9E4FE5 #E59E4F #4FE59E
tetradic
#9E4FE5 #E5534F #96E54F #4FE1E5
square
#9E4FE5 #E5534F #96E54F #4FE1E5
split-complementary
#9E4FE5 #E1E54F #4FE553
monochromatic
#6018A2 #8020D7 #9E4FE5 #BB84ED #D9BAF5
Accessibility & contrast
On white
4.46
#9E4FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#9E4FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E4FE5
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E4FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E4FE5 | 1.00 | 4.46 | 4.70 | 4.70 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#2077E2
Tritanopia (blue-blind)
#917093
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9e4fe5; /* rgb */ color: rgb(158, 79, 229); /* oklch */ color: oklch(59.6% 0.219 304.8);
Tailwind
colors: {
custom: {
50: '#bf85ee',
500: '#9e4fe5',
950: '#000000',
},
}SCSS
$custom: #9e4fe5; $custom-light: #bf85ee; $custom-dark: #000000;
JSON
{
"hex": "#9e4fe5",
"rgb": {
"r": 158,
"g": 79,
"b": 229
},
"hsl": {
"h": 271.6,
"s": 74.257,
"l": 60.392
},
"oklch": {
"l": 0.59592,
"c": 0.21913,
"h": 304.8
},
"luminance": 0.18518
}Semantic roles & 50–950 ramp
primary
#9E4FE5
secondary
#C6E5AB
accent
#D60F6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84