#9E46E5#9E46E5
#9E46E5 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.5% C 0.230 H 305.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9E46E5 |
|---|---|
| RGB | rgb(158, 70, 229) |
| HSL | hsl(273, 75%, 59%) |
| HSV | hsv(273, 69%, 90%) |
| CMYK | cmyk(31%, 69.4%, 0%, 10.2%) |
| CIE-LAB | lab(48.64, 63.41, -65.84) |
| CIE-LCH | lch(48.64, 91.41, 313.92°) |
| OKLab | oklab(58.54% 0.1343 -0.187) |
| OKLCH | oklch(58.54% 0.23 305.7) |
| XYZ | xyz(30.4305, 17.3068, 75.8510) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.12
Electric Purple
#AA23FF
ΔE00 4.35
Purpley
#8756E4
ΔE00 4.79
Bright Violet
#AD0AFD
ΔE00 5.21
Lighter Purple
#A55AF4
ΔE00 5.44
Neon Purple
#BC13FE
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E46E5 #8DE546
analogous
#4E46E5 #9E46E5 #E546DC
triadic
#9E46E5 #E59E46 #46E59E
tetradic
#9E46E5 #E54E46 #8DE546 #46DCE5
square
#9E46E5 #E54E46 #8DE546 #46DCE5
split-complementary
#9E46E5 #DCE546 #46E54E
monochromatic
#5F169B #801DD0 #9E46E5 #BA7CED #D6B1F4
Accessibility & contrast
On white
4.71
#9E46E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#9E46E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E46E5
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E46E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E46E5 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#916B91
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9e46e5; /* rgb */ color: rgb(158, 70, 229); /* oklch */ color: oklch(58.5% 0.230 305.7);
Tailwind
colors: {
custom: {
50: '#c080ee',
500: '#9e46e5',
950: '#000000',
},
}SCSS
$custom: #9e46e5; $custom-light: #c080ee; $custom-dark: #000000;
JSON
{
"hex": "#9e46e5",
"rgb": {
"r": 158,
"g": 70,
"b": 229
},
"hsl": {
"h": 273.208,
"s": 75.355,
"l": 58.627
},
"oklch": {
"l": 0.58537,
"c": 0.23022,
"h": 305.7
},
"luminance": 0.17307
}Semantic roles & 50–950 ramp
primary
#9E46E5
secondary
#C0E3A4
accent
#F2368A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84