#971F83#971F83
#971F83 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.186 H 336.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #971F83 |
|---|---|
| RGB | rgb(151, 31, 131) |
| HSL | hsl(310, 66%, 36%) |
| HSV | hsv(310, 79%, 59%) |
| CMYK | cmyk(0%, 79.5%, 13.2%, 40.8%) |
| CIE-LAB | lab(36.37, 57.92, -27.66) |
| CIE-LCH | lch(36.37, 64.18, 334.47°) |
| OKLab | oklab(47.62% 0.1701 -0.0755) |
| OKLCH | oklch(47.62% 0.186 336.1) |
| XYZ | xyz(17.3495, 9.1996, 22.3303) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.98
Barney Purple
#A00498
ΔE00 4.04
Darkmagenta
#8B008B
ΔE00 5.00
Purple
#800080
ΔE00 6.29
Red Violet
#9E0168
ΔE00 6.42
Light Eggplant
#894585
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971F83 #1F9733
analogous
#6F1F97 #971F83 #971F47
triadic
#971F83 #83971F #1F8397
tetradic
#971F83 #976F1F #1F9733 #1F4797
square
#971F83 #976F1F #1F9733 #1F4797
split-complementary
#971F83 #47971F #1F976F
monochromatic
#310A2B #641557 #971F83 #CA29AF #DC54C5
Accessibility & contrast
On white
7.40
#971F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#971F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971F83
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971F83 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214A86
Deuteranopia (green-blind)
#4D5C80
Tritanopia (blue-blind)
#9F2950
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #971f83; /* rgb */ color: rgb(151, 31, 131); /* oklch */ color: oklch(47.6% 0.186 336.1);
Tailwind
colors: {
custom: {
50: '#b96aa7',
500: '#971f83',
950: '#000000',
},
}SCSS
$custom: #971f83; $custom-light: #b96aa7; $custom-dark: #000000;
JSON
{
"hex": "#971f83",
"rgb": {
"r": 151,
"g": 31,
"b": 131
},
"hsl": {
"h": 310,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.47617,
"c": 0.18606,
"h": 336.1
},
"luminance": 0.09198
}Semantic roles & 50–950 ramp
primary
#971F83
secondary
#52BF65
accent
#E95B3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F