#9D47D5#9D47D5
#9D47D5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.213 H 309.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9D47D5 |
|---|---|
| RGB | rgb(157, 71, 213) |
| HSL | hsl(276, 63%, 56%) |
| HSV | hsv(276, 67%, 84%) |
| CMYK | cmyk(26.3%, 66.7%, 0%, 16.5%) |
| CIE-LAB | lab(47.60, 59.22, -58.44) |
| CIE-LCH | lch(47.60, 83.20, 315.38°) |
| OKLab | oklab(57.42% 0.1338 -0.1653) |
| OKLCH | oklch(57.42% 0.213 309) |
| XYZ | xyz(28.1657, 16.4792, 64.6349) |
| Luminance | 0.1648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.11
Darkorchid
#9932CC
ΔE00 4.36
Purpley
#8756E4
ΔE00 5.71
Electric Purple
#AA23FF
ΔE00 5.94
Purply
#983FB2
ΔE00 5.98
Vibrant Purple
#AD03DE
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D47D5 #7FD547
analogous
#5647D5 #9D47D5 #D547C6
triadic
#9D47D5 #D59D47 #47D59D
tetradic
#9D47D5 #D55647 #7FD547 #47C6D5
square
#9D47D5 #D55647 #7FD547 #47C6D5
split-complementary
#9D47D5 #C6D547 #47D556
monochromatic
#5C1E84 #7E29B5 #9D47D5 #B879E0 #D2ABEC
Accessibility & contrast
On white
4.89
#9D47D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#9D47D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D47D5
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D47D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D47D5 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#956588
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9d47d5; /* rgb */ color: rgb(157, 71, 213); /* oklch */ color: oklch(57.4% 0.213 309.0);
Tailwind
colors: {
custom: {
50: '#be80e3',
500: '#9d47d5',
950: '#000000',
},
}SCSS
$custom: #9d47d5; $custom-light: #be80e3; $custom-dark: #000000;
JSON
{
"hex": "#9d47d5",
"rgb": {
"r": 157,
"g": 71,
"b": 213
},
"hsl": {
"h": 276.338,
"s": 62.832,
"l": 55.686
},
"oklch": {
"l": 0.57419,
"c": 0.21266,
"h": 309
},
"luminance": 0.16479
}Semantic roles & 50–950 ramp
primary
#9D47D5
secondary
#B6D99E
accent
#E64283
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84