#971F7B#971F7B
#971F7B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.181 H 339.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #971F7B |
|---|---|
| RGB | rgb(151, 31, 123) |
| HSL | hsl(314, 66%, 36%) |
| HSV | hsv(314, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 18.5%, 40.8%) |
| CIE-LAB | lab(35.97, 56.76, -23.30) |
| CIE-LCH | lch(35.97, 61.36, 337.69°) |
| OKLab | oklab(47.2% 0.1693 -0.063) |
| OKLCH | oklch(47.2% 0.181 339.6) |
| XYZ | xyz(16.8281, 8.9910, 19.5843) |
| Luminance | 0.0899 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.43
Red Violet
#9E0168
ΔE00 4.83
Barney Purple
#A00498
ΔE00 5.62
Darkmagenta
#8B008B
ΔE00 6.25
Purple
#800080
ΔE00 7.10
Light Eggplant
#894585
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F7B #1F973B
analogous
#771F97 #971F7B #971F3F
triadic
#971F7B #7B971F #1F7B97
tetradic
#971F7B #97771F #1F973B #1F3F97
square
#971F7B #97771F #1F973B #1F3F97
split-complementary
#971F7B #3F971F #1F9777
monochromatic
#310A28 #641552 #971F7B #CA29A4 #DC54BC
Accessibility & contrast
On white
7.51
#971F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#971F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F7B
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F7B | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28497D
Deuteranopia (green-blind)
#505B78
Tritanopia (blue-blind)
#A0244B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971f7b; /* rgb */ color: rgb(151, 31, 123); /* oklch */ color: oklch(47.2% 0.181 339.6);
Tailwind
colors: {
custom: {
50: '#b969a1',
500: '#971f7b',
950: '#000000',
},
}SCSS
$custom: #971f7b; $custom-light: #b969a1; $custom-dark: #000000;
JSON
{
"hex": "#971f7b",
"rgb": {
"r": 151,
"g": 31,
"b": 123
},
"hsl": {
"h": 314,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47201,
"c": 0.18063,
"h": 339.6
},
"luminance": 0.08989
}Semantic roles & 50–950 ramp
primary
#971F7B
secondary
#52BF6C
accent
#E9673F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E