#971F95#971F95
#971F95 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.199 H 328.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #971F95 |
|---|---|
| RGB | rgb(151, 31, 149) |
| HSL | hsl(301, 66%, 36%) |
| HSV | hsv(301, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 1.3%, 40.8%) |
| CIE-LAB | lab(37.35, 60.71, -37.16) |
| CIE-LCH | lch(37.35, 71.18, 328.53°) |
| OKLab | oklab(48.64% 0.1705 -0.103) |
| OKLCH | oklch(48.64% 0.199 328.9) |
| XYZ | xyz(18.6771, 9.7306, 29.3224) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.82
Warm Purple
#952E8F
ΔE00 2.32
Darkmagenta
#8B008B
ΔE00 3.95
Purple (survey)
#7E1E9C
ΔE00 5.82
Purple
#800080
ΔE00 6.13
Barney
#AC1DB8
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F95 #1F9721
analogous
#5D1F97 #971F95 #971F59
triadic
#971F95 #95971F #1F9597
tetradic
#971F95 #975D1F #1F9721 #1F5997
square
#971F95 #975D1F #1F9721 #1F5997
split-complementary
#971F95 #59971F #1F975D
monochromatic
#310A31 #641563 #971F95 #CA29C7 #DC54DA
Accessibility & contrast
On white
7.13
#971F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#971F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F95
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F95 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#435D92
Tritanopia (blue-blind)
#9C335A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #971f95; /* rgb */ color: rgb(151, 31, 149); /* oklch */ color: oklch(48.6% 0.199 328.9);
Tailwind
colors: {
custom: {
50: '#b96ab4',
500: '#971f95',
950: '#000000',
},
}SCSS
$custom: #971f95; $custom-light: #b96ab4; $custom-dark: #000000;
JSON
{
"hex": "#971f95",
"rgb": {
"r": 151,
"g": 31,
"b": 149
},
"hsl": {
"h": 301,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.48644,
"c": 0.19916,
"h": 328.9
},
"luminance": 0.09729
}Semantic roles & 50–950 ramp
primary
#971F95
secondary
#52BF54
accent
#E9423F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80