#9D47C5#9D47C5
#9D47C5 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.197 H 313.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9D47C5 |
|---|---|
| RGB | rgb(157, 71, 197) |
| HSL | hsl(281, 52%, 53%) |
| HSV | hsv(281, 64%, 77%) |
| CMYK | cmyk(20.3%, 64%, 0%, 22.7%) |
| CIE-LAB | lab(46.59, 55.77, -50.85) |
| CIE-LCH | lch(46.59, 75.48, 317.64°) |
| OKLab | oklab(56.37% 0.1348 -0.143) |
| OKLCH | oklch(56.37% 0.197 313.3) |
| XYZ | xyz(26.2342, 15.7066, 54.4622) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.68
Darkorchid
#9932CC
ΔE00 4.15
Amethyst
#9B5FC0
ΔE00 5.85
Lightish Purple
#A552E6
ΔE00 6.03
Barney
#AC1DB8
ΔE00 6.30
Deep Lavender
#8D5EB7
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D47C5 #6FC547
analogous
#5E47C5 #9D47C5 #C547AE
triadic
#9D47C5 #C59D47 #47C59D
tetradic
#9D47C5 #C55E47 #6FC547 #47AEC5
square
#9D47C5 #C55E47 #6FC547 #47AEC5
split-complementary
#9D47C5 #AEC547 #47C55E
monochromatic
#57236F #7B329D #9D47C5 #B676D4 #CFA4E2
Accessibility & contrast
On white
5.07
#9D47C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9D47C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D47C5
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D47C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D47C5 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B6AC9
Deuteranopia (green-blind)
#4070C2
Tritanopia (blue-blind)
#995F80
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9d47c5; /* rgb */ color: rgb(157, 71, 197); /* oklch */ color: oklch(56.4% 0.197 313.3);
Tailwind
colors: {
custom: {
50: '#bd80d7',
500: '#9d47c5',
950: '#000000',
},
}SCSS
$custom: #9d47c5; $custom-light: #bd80d7; $custom-dark: #000000;
JSON
{
"hex": "#9d47c5",
"rgb": {
"r": 157,
"g": 71,
"b": 197
},
"hsl": {
"h": 280.952,
"s": 52.066,
"l": 52.549
},
"oklch": {
"l": 0.5637,
"c": 0.19656,
"h": 313.3
},
"luminance": 0.15706
}Semantic roles & 50–950 ramp
primary
#9D47C5
secondary
#AACF99
accent
#DC4C7A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83