#971FA1#971FA1
#971FA1 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.208 H 324.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #971FA1 |
|---|---|
| RGB | rgb(151, 31, 161) |
| HSL | hsl(295, 68%, 38%) |
| HSV | hsv(295, 81%, 63%) |
| CMYK | cmyk(6.2%, 80.7%, 0%, 36.9%) |
| CIE-LAB | lab(38.08, 62.72, -43.28) |
| CIE-LCH | lch(38.08, 76.20, 325.39°) |
| OKLab | oklab(49.39% 0.1698 -0.1208) |
| OKLCH | oklch(49.39% 0.208 324.6) |
| XYZ | xyz(19.6850, 10.1338, 34.6305) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.80
Warm Purple
#952E8F
ΔE00 3.96
Barney
#AC1DB8
ΔE00 4.81
Darkmagenta
#8B008B
ΔE00 4.84
Purple (survey)
#7E1E9C
ΔE00 4.93
Purply
#983FB2
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971FA1 #29A11F
analogous
#561FA1 #971FA1 #A11F6A
triadic
#971FA1 #A1971F #1FA197
tetradic
#971FA1 #A1561F #29A11F #1F6AA1
square
#971FA1 #A1561F #29A11F #1F6AA1
split-complementary
#971FA1 #6AA11F #1FA156
monochromatic
#370B3A #67156E #971FA1 #C729D4 #D55BDF
Accessibility & contrast
On white
6.94
#971FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#971FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #971FA1
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971FA1 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#3B5E9E
Tritanopia (blue-blind)
#9A3961
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #971fa1; /* rgb */ color: rgb(151, 31, 161); /* oklch */ color: oklch(49.4% 0.208 324.6);
Tailwind
colors: {
custom: {
50: '#ba6bbd',
500: '#971fa1',
950: '#000000',
},
}SCSS
$custom: #971fa1; $custom-light: #ba6bbd; $custom-dark: #000000;
JSON
{
"hex": "#971fa1",
"rgb": {
"r": 151,
"g": 31,
"b": 161
},
"hsl": {
"h": 295.385,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.49392,
"c": 0.20835,
"h": 324.6
},
"luminance": 0.10132
}Semantic roles & 50–950 ramp
primary
#971FA1
secondary
#61C458
accent
#EB3D4B
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81