#972581#972581
#972581 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.178 H 337.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #972581 |
|---|---|
| RGB | rgb(151, 37, 129) |
| HSL | hsl(312, 61%, 37%) |
| HSV | hsv(312, 75%, 59%) |
| CMYK | cmyk(0%, 75.5%, 14.6%, 40.8%) |
| CIE-LAB | lab(36.91, 55.78, -25.57) |
| CIE-LCH | lch(36.91, 61.36, 335.38°) |
| OKLab | oklab(47.98% 0.1644 -0.0695) |
| OKLCH | oklch(47.98% 0.178 337.1) |
| XYZ | xyz(17.3868, 9.4890, 21.6805) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.11
Barney Purple
#A00498
ΔE00 4.80
Darkmagenta
#8B008B
ΔE00 5.90
Red Violet
#9E0168
ΔE00 6.09
Light Eggplant
#894585
ΔE00 6.27
Purple
#800080
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972581 #25973B
analogous
#742597 #972581 #972548
triadic
#972581 #819725 #258197
tetradic
#972581 #977425 #25973B #254897
square
#972581 #977425 #25973B #254897
split-complementary
#972581 #489725 #259774
monochromatic
#350D2D #661957 #972581 #C831AB #D85FC0
Accessibility & contrast
On white
7.25
#972581 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#972581 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972581
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972581 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972581 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#9F2C50
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #972581; /* rgb */ color: rgb(151, 37, 129); /* oklch */ color: oklch(48.0% 0.178 337.1);
Tailwind
colors: {
custom: {
50: '#b96ca6',
500: '#972581',
950: '#000000',
},
}SCSS
$custom: #972581; $custom-light: #b96ca6; $custom-dark: #000000;
JSON
{
"hex": "#972581",
"rgb": {
"r": 151,
"g": 37,
"b": 129
},
"hsl": {
"h": 311.579,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.47976,
"c": 0.17848,
"h": 337.1
},
"luminance": 0.09487
}Semantic roles & 50–950 ramp
primary
#972581
secondary
#5BBD6E
accent
#E46344
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F