#9E47D7#9E47D7
#9E47D7 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.7% C 0.215 H 308.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9E47D7 |
|---|---|
| RGB | rgb(158, 71, 215) |
| HSL | hsl(276, 64%, 56%) |
| HSV | hsv(276, 67%, 84%) |
| CMYK | cmyk(26.5%, 67%, 0%, 15.7%) |
| CIE-LAB | lab(47.86, 59.87, -59.15) |
| CIE-LCH | lch(47.86, 84.17, 315.35°) |
| OKLab | oklab(57.68% 0.1349 -0.1674) |
| OKLCH | oklch(57.68% 0.215 308.9) |
| XYZ | xyz(28.6171, 16.6824, 65.9893) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.83
Darkorchid
#9932CC
ΔE00 4.57
Purpley
#8756E4
ΔE00 5.64
Electric Purple
#AA23FF
ΔE00 5.72
Vibrant Purple
#AD03DE
ΔE00 6.01
Bright Violet
#AD0AFD
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E47D7 #80D747
analogous
#5647D7 #9E47D7 #D747C8
triadic
#9E47D7 #D79E47 #47D79E
tetradic
#9E47D7 #D75647 #80D747 #47C8D7
square
#9E47D7 #D75647 #80D747 #47C8D7
split-complementary
#9E47D7 #C8D747 #47D756
monochromatic
#5D1D86 #7F28B9 #9E47D7 #B979E2 #D3ACED
Accessibility & contrast
On white
4.84
#9E47D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#9E47D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E47D7
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E47D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E47D7 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#2C73D4
Tritanopia (blue-blind)
#966689
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9e47d7; /* rgb */ color: rgb(158, 71, 215); /* oklch */ color: oklch(57.7% 0.215 308.9);
Tailwind
colors: {
custom: {
50: '#bf80e4',
500: '#9e47d7',
950: '#000000',
},
}SCSS
$custom: #9e47d7; $custom-light: #bf80e4; $custom-dark: #000000;
JSON
{
"hex": "#9e47d7",
"rgb": {
"r": 158,
"g": 71,
"b": 215
},
"hsl": {
"h": 276.25,
"s": 64.286,
"l": 56.078
},
"oklch": {
"l": 0.57675,
"c": 0.21497,
"h": 308.9
},
"luminance": 0.16682
}Semantic roles & 50–950 ramp
primary
#9E47D7
secondary
#B7DB9F
accent
#E74183
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84