#972081#972081
#972081 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.184 H 336.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #972081 |
|---|---|
| RGB | rgb(151, 32, 129) |
| HSL | hsl(311, 65%, 36%) |
| HSV | hsv(311, 79%, 59%) |
| CMYK | cmyk(0%, 78.8%, 14.6%, 40.8%) |
| CIE-LAB | lab(36.36, 57.33, -26.42) |
| CIE-LCH | lch(36.36, 63.13, 335.26°) |
| OKLab | oklab(47.58% 0.169 -0.0719) |
| OKLCH | oklch(47.58% 0.184 336.9) |
| XYZ | xyz(17.2418, 9.1990, 21.6321) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.27
Barney Purple
#A00498
ΔE00 4.47
Darkmagenta
#8B008B
ΔE00 5.38
Red Violet
#9E0168
ΔE00 6.03
Purple
#800080
ΔE00 6.55
Light Eggplant
#894585
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972081 #209736
analogous
#712097 #972081 #972046
triadic
#972081 #819720 #208197
tetradic
#972081 #977120 #209736 #204697
square
#972081 #977120 #209736 #204697
split-complementary
#972081 #469720 #209771
monochromatic
#320B2B #641556 #972081 #C92BAC #DB56C3
Accessibility & contrast
On white
7.40
#972081 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#972081 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972081
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972081 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972081 | 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)
#244A84
Deuteranopia (green-blind)
#4E5C7E
Tritanopia (blue-blind)
#9F284F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #972081; /* rgb */ color: rgb(151, 32, 129); /* oklch */ color: oklch(47.6% 0.184 336.9);
Tailwind
colors: {
custom: {
50: '#b96aa6',
500: '#972081',
950: '#000000',
},
}SCSS
$custom: #972081; $custom-light: #b96aa6; $custom-dark: #000000;
JSON
{
"hex": "#972081",
"rgb": {
"r": 151,
"g": 32,
"b": 129
},
"hsl": {
"h": 311.092,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.47583,
"c": 0.18371,
"h": 336.9
},
"luminance": 0.09197
}Semantic roles & 50–950 ramp
primary
#972081
secondary
#54BF68
accent
#E85F40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F