#9E47E0#9E47E0
#9E47E0 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.224 H 306.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9E47E0 |
|---|---|
| RGB | rgb(158, 71, 224) |
| HSL | hsl(274, 71%, 58%) |
| HSV | hsv(274, 68%, 88%) |
| CMYK | cmyk(29.5%, 68.3%, 0%, 12.2%) |
| CIE-LAB | lab(48.46, 61.86, -63.31) |
| CIE-LCH | lch(48.46, 88.51, 314.34°) |
| OKLab | oklab(58.3% 0.1339 -0.1796) |
| OKLCH | oklch(58.3% 0.224 306.7) |
| XYZ | xyz(29.8055, 17.1577, 72.2482) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.15
Electric Purple
#AA23FF
ΔE00 4.85
Purpley
#8756E4
ΔE00 4.95
Darkorchid
#9932CC
ΔE00 5.32
Bright Violet
#AD0AFD
ΔE00 5.58
Lighter Purple
#A55AF4
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E47E0 #89E047
analogous
#5247E0 #9E47E0 #E047D5
triadic
#9E47E0 #E09E47 #47E09E
tetradic
#9E47E0 #E05247 #89E047 #47D5E0
square
#9E47E0 #E05247 #89E047 #47D5E0
split-complementary
#9E47E0 #D5E047 #47E052
monochromatic
#5F1994 #8022C8 #9E47E0 #BA7BE9 #D5B0F2
Accessibility & contrast
On white
4.74
#9E47E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#9E47E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E47E0
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E47E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E47E0 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#1974DD
Tritanopia (blue-blind)
#93698E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9e47e0; /* rgb */ color: rgb(158, 71, 224); /* oklch */ color: oklch(58.3% 0.224 306.7);
Tailwind
colors: {
custom: {
50: '#c081eb',
500: '#9e47e0',
950: '#000000',
},
}SCSS
$custom: #9e47e0; $custom-light: #c081eb; $custom-dark: #000000;
JSON
{
"hex": "#9e47e0",
"rgb": {
"r": 158,
"g": 71,
"b": 224
},
"hsl": {
"h": 274.118,
"s": 71.163,
"l": 57.843
},
"oklch": {
"l": 0.58296,
"c": 0.22401,
"h": 306.7
},
"luminance": 0.17157
}Semantic roles & 50–950 ramp
primary
#9E47E0
secondary
#BDE0A3
accent
#EE3A88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84