#971B82#971B82
#971B82 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.189 H 336.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #971B82 |
|---|---|
| RGB | rgb(151, 27, 130) |
| HSL | hsl(310, 70%, 35%) |
| HSV | hsv(310, 82%, 59%) |
| CMYK | cmyk(0%, 82.1%, 13.9%, 40.8%) |
| CIE-LAB | lab(35.94, 58.85, -27.71) |
| CIE-LCH | lch(35.94, 65.05, 334.79°) |
| OKLab | oklab(47.3% 0.1732 -0.0756) |
| OKLCH | oklch(47.3% 0.189 336.4) |
| XYZ | xyz(17.1840, 8.9765, 21.9424) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.35
Barney Purple
#A00498
ΔE00 4.06
Darkmagenta
#8B008B
ΔE00 4.80
Purple
#800080
ΔE00 6.04
Red Violet
#9E0168
ΔE00 6.23
Darkish Purple
#751973
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#971B82 #1B9730
analogous
#6E1B97 #971B82 #971B44
triadic
#971B82 #82971B #1B8297
tetradic
#971B82 #976E1B #1B9730 #1B4497
square
#971B82 #976E1B #1B9730 #1B4497
split-complementary
#971B82 #44971B #1B976E
monochromatic
#2F0829 #631255 #971B82 #CB24AF #DF4DC6
Accessibility & contrast
On white
7.51
#971B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#971B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #971B82
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##971B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##971B82 | 1.00 | 7.51 | 2.79 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4985
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#9F254E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #971b82; /* rgb */ color: rgb(151, 27, 130); /* oklch */ color: oklch(47.3% 0.189 336.4);
Tailwind
colors: {
custom: {
50: '#ba68a6',
500: '#971b82',
950: '#000000',
},
}SCSS
$custom: #971b82; $custom-light: #ba68a6; $custom-dark: #000000;
JSON
{
"hex": "#971b82",
"rgb": {
"r": 151,
"g": 27,
"b": 130
},
"hsl": {
"h": 310.161,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.47295,
"c": 0.18899,
"h": 336.4
},
"luminance": 0.08975
}Semantic roles & 50–950 ramp
primary
#971B82
secondary
#4CC160
accent
#EC593B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F