#9E47E5#9E47E5
#9E47E5 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.6% C 0.229 H 305.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9E47E5 |
|---|---|
| RGB | rgb(158, 71, 229) |
| HSL | hsl(273, 75%, 59%) |
| HSV | hsv(273, 69%, 90%) |
| CMYK | cmyk(31%, 69%, 0%, 10.2%) |
| CIE-LAB | lab(48.80, 62.97, -65.59) |
| CIE-LCH | lch(48.80, 90.92, 313.84°) |
| OKLab | oklab(58.65% 0.1333 -0.1863) |
| OKLCH | oklch(58.65% 0.229 305.6) |
| XYZ | xyz(30.4935, 17.4330, 75.8720) |
| Luminance | 0.1743 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.95
Electric Purple
#AA23FF
ΔE00 4.47
Purpley
#8756E4
ΔE00 4.70
Lighter Purple
#A55AF4
ΔE00 5.26
Bright Violet
#AD0AFD
ΔE00 5.35
Neon Purple
#BC13FE
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E47E5 #8EE547
analogous
#4F47E5 #9E47E5 #E547DD
triadic
#9E47E5 #E59E47 #47E59E
tetradic
#9E47E5 #E54F47 #8EE547 #47DDE5
square
#9E47E5 #E54F47 #8EE547 #47DDE5
split-complementary
#9E47E5 #DDE547 #47E54F
monochromatic
#60169C #801ED1 #9E47E5 #BA7DED #D7B2F4
Accessibility & contrast
On white
4.68
#9E47E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#9E47E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E47E5
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E47E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E47E5 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0474E2
Tritanopia (blue-blind)
#916B91
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9e47e5; /* rgb */ color: rgb(158, 71, 229); /* oklch */ color: oklch(58.6% 0.229 305.6);
Tailwind
colors: {
custom: {
50: '#c081ee',
500: '#9e47e5',
950: '#000000',
},
}SCSS
$custom: #9e47e5; $custom-light: #c081ee; $custom-dark: #000000;
JSON
{
"hex": "#9e47e5",
"rgb": {
"r": 158,
"g": 71,
"b": 229
},
"hsl": {
"h": 273.038,
"s": 75.238,
"l": 58.824
},
"oklch": {
"l": 0.58649,
"c": 0.22904,
"h": 305.6
},
"luminance": 0.17433
}Semantic roles & 50–950 ramp
primary
#9E47E5
secondary
#C1E3A5
accent
#F2368A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84