#9D47AF#9D47AF
#9D47AF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.0% C 0.175 H 320.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9D47AF |
|---|---|
| RGB | rgb(157, 71, 175) |
| HSL | hsl(290, 42%, 48%) |
| HSV | hsv(290, 59%, 69%) |
| CMYK | cmyk(10.3%, 59.4%, 0%, 31.4%) |
| CIE-LAB | lab(45.32, 51.26, -40.03) |
| CIE-LCH | lch(45.32, 65.04, 322.01°) |
| OKLab | oklab(55.04% 0.1346 -0.1114) |
| OKLCH | oklch(55.04% 0.175 320.4) |
| XYZ | xyz(23.8948, 14.7708, 42.1415) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.41
Medium Purple
#9E43A2
ΔE00 2.65
Ugly Purple
#A442A0
ΔE00 3.68
Barney
#AC1DB8
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 6.41
Amethyst
#9B5FC0
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D47AF #59AF47
analogous
#6947AF #9D47AF #AF478D
triadic
#9D47AF #AF9D47 #47AF9D
tetradic
#9D47AF #AF6947 #59AF47 #478DAF
square
#9D47AF #AF6947 #59AF47 #478DAF
split-complementary
#9D47AF #8DAF47 #47AF69
monochromatic
#4F2458 #763583 #9D47AF #B66FC4 #CC9AD6
Accessibility & contrast
On white
5.31
#9D47AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#9D47AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D47AF
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D47AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D47AF | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#9E5774
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9d47af; /* rgb */ color: rgb(157, 71, 175); /* oklch */ color: oklch(55.0% 0.175 320.4);
Tailwind
colors: {
custom: {
50: '#bd7fc7',
500: '#9d47af',
950: '#000000',
},
}SCSS
$custom: #9d47af; $custom-light: #bd7fc7; $custom-dark: #000000;
JSON
{
"hex": "#9d47af",
"rgb": {
"r": 157,
"g": 71,
"b": 175
},
"hsl": {
"h": 289.615,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.55041,
"c": 0.17477,
"h": 320.4
},
"luminance": 0.1477
}Semantic roles & 50–950 ramp
primary
#9D47AF
secondary
#98C28F
accent
#D2566B
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120A13
muted
#817C82