#971F96#971F96
#971F96 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.200 H 328.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #971F96 |
|---|---|
| RGB | rgb(151, 31, 150) |
| HSL | hsl(301, 66%, 36%) |
| HSV | hsv(301, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 0.7%, 40.8%) |
| CIE-LAB | lab(37.41, 60.87, -37.68) |
| CIE-LCH | lch(37.41, 71.59, 328.24°) |
| OKLab | oklab(48.7% 0.1704 -0.1045) |
| OKLCH | oklch(48.7% 0.2 328.5) |
| XYZ | xyz(18.7573, 9.7627, 29.7447) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.82
Warm Purple
#952E8F
ΔE00 2.43
Darkmagenta
#8B008B
ΔE00 3.99
Purple (survey)
#7E1E9C
ΔE00 5.72
Barney
#AC1DB8
ΔE00 6.07
Purple
#800080
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F96 #1F9720
analogous
#5C1F97 #971F96 #971F5A
triadic
#971F96 #96971F #1F9697
tetradic
#971F96 #975C1F #1F9720 #1F5A97
square
#971F96 #975C1F #1F9720 #1F5A97
split-complementary
#971F96 #5A971F #1F975C
monochromatic
#310A31 #641564 #971F96 #CA29C8 #DC54DB
Accessibility & contrast
On white
7.11
#971F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#971F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F96
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F96 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#435D93
Tritanopia (blue-blind)
#9C335B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #971f96; /* rgb */ color: rgb(151, 31, 150); /* oklch */ color: oklch(48.7% 0.200 328.5);
Tailwind
colors: {
custom: {
50: '#b96ab5',
500: '#971f96',
950: '#000000',
},
}SCSS
$custom: #971f96; $custom-light: #b96ab5; $custom-dark: #000000;
JSON
{
"hex": "#971f96",
"rgb": {
"r": 151,
"g": 31,
"b": 150
},
"hsl": {
"h": 300.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.48704,
"c": 0.19991,
"h": 328.5
},
"luminance": 0.09761
}Semantic roles & 50–950 ramp
primary
#971F96
secondary
#52BF53
accent
#E9403F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80