#971F7F#971F7F
#971F7F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.183 H 337.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #971F7F |
|---|---|
| RGB | rgb(151, 31, 127) |
| HSL | hsl(312, 66%, 36%) |
| HSV | hsv(312, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 15.9%, 40.8%) |
| CIE-LAB | lab(36.16, 57.33, -25.49) |
| CIE-LCH | lch(36.16, 62.74, 336.03°) |
| OKLab | oklab(47.41% 0.1697 -0.0693) |
| OKLCH | oklch(47.41% 0.183 337.8) |
| XYZ | xyz(17.0836, 9.0932, 20.9300) |
| Luminance | 0.0909 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.67
Barney Purple
#A00498
ΔE00 4.81
Darkmagenta
#8B008B
ΔE00 5.59
Red Violet
#9E0168
ΔE00 5.63
Purple
#800080
ΔE00 6.65
Light Eggplant
#894585
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F7F #1F9737
analogous
#731F97 #971F7F #971F43
triadic
#971F7F #7F971F #1F7F97
tetradic
#971F7F #97731F #1F9737 #1F4397
square
#971F7F #97731F #1F9737 #1F4397
split-complementary
#971F7F #43971F #1F9773
monochromatic
#310A2A #641554 #971F7F #CA29AA #DC54C1
Accessibility & contrast
On white
7.45
#971F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#971F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F7F
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F7F | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254982
Deuteranopia (green-blind)
#4E5C7C
Tritanopia (blue-blind)
#A0264E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971f7f; /* rgb */ color: rgb(151, 31, 127); /* oklch */ color: oklch(47.4% 0.183 337.8);
Tailwind
colors: {
custom: {
50: '#b969a4',
500: '#971f7f',
950: '#000000',
},
}SCSS
$custom: #971f7f; $custom-light: #b969a4; $custom-dark: #000000;
JSON
{
"hex": "#971f7f",
"rgb": {
"r": 151,
"g": 31,
"b": 127
},
"hsl": {
"h": 312,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47406,
"c": 0.18331,
"h": 337.8
},
"luminance": 0.09092
}Semantic roles & 50–950 ramp
primary
#971F7F
secondary
#52BF68
accent
#E9613F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F