#971F7A#971F7A
#971F7A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.180 H 340.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #971F7A |
|---|---|
| RGB | rgb(151, 31, 122) |
| HSL | hsl(315, 66%, 36%) |
| HSV | hsv(315, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 19.2%, 40.8%) |
| CIE-LAB | lab(35.92, 56.62, -22.75) |
| CIE-LCH | lch(35.92, 61.02, 338.11°) |
| OKLab | oklab(47.15% 0.1691 -0.0615) |
| OKLCH | oklch(47.15% 0.18 340) |
| XYZ | xyz(16.7658, 8.9661, 19.2563) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.63
Red Violet
#9E0168
ΔE00 4.63
Barney Purple
#A00498
ΔE00 5.83
Darkmagenta
#8B008B
ΔE00 6.43
Light Eggplant
#894585
ΔE00 7.22
Purple
#800080
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F7A #1F973C
analogous
#781F97 #971F7A #971F3E
triadic
#971F7A #7A971F #1F7A97
tetradic
#971F7A #97781F #1F973C #1F3E97
square
#971F7A #97781F #1F973C #1F3E97
split-complementary
#971F7A #3E971F #1F9778
monochromatic
#310A28 #641551 #971F7A #CA29A3 #DC54BB
Accessibility & contrast
On white
7.52
#971F7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#971F7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F7A
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F7A | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28487C
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#A0234B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #971f7a; /* rgb */ color: rgb(151, 31, 122); /* oklch */ color: oklch(47.2% 0.180 340.0);
Tailwind
colors: {
custom: {
50: '#b969a0',
500: '#971f7a',
950: '#000000',
},
}SCSS
$custom: #971f7a; $custom-light: #b969a0; $custom-dark: #000000;
JSON
{
"hex": "#971f7a",
"rgb": {
"r": 151,
"g": 31,
"b": 122
},
"hsl": {
"h": 314.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47151,
"c": 0.17997,
"h": 340
},
"luminance": 0.08964
}Semantic roles & 50–950 ramp
primary
#971F7A
secondary
#52BF6D
accent
#E9683F
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E