#972481#972481
#972481 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.180 H 337.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #972481 |
|---|---|
| RGB | rgb(151, 36, 129) |
| HSL | hsl(311, 61%, 37%) |
| HSV | hsv(311, 76%, 59%) |
| CMYK | cmyk(0%, 76.2%, 14.6%, 40.8%) |
| CIE-LAB | lab(36.80, 56.10, -25.74) |
| CIE-LCH | lch(36.80, 61.73, 335.35°) |
| OKLab | oklab(47.89% 0.1653 -0.07) |
| OKLCH | oklch(47.89% 0.18 337) |
| XYZ | xyz(17.3562, 9.4277, 21.6703) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.14
Barney Purple
#A00498
ΔE00 4.72
Darkmagenta
#8B008B
ΔE00 5.78
Red Violet
#9E0168
ΔE00 6.07
Light Eggplant
#894585
ΔE00 6.39
Purple
#800080
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972481 #24973A
analogous
#742497 #972481 #972448
triadic
#972481 #819724 #248197
tetradic
#972481 #977424 #24973A #244897
square
#972481 #977424 #24973A #244897
split-complementary
#972481 #489724 #249774
monochromatic
#340C2D #661857 #972481 #C830AB #D85DC1
Accessibility & contrast
On white
7.28
#972481 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#972481 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972481
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972481 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972481 | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274B84
Deuteranopia (green-blind)
#4F5D7E
Tritanopia (blue-blind)
#9F2B50
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #972481; /* rgb */ color: rgb(151, 36, 129); /* oklch */ color: oklch(47.9% 0.180 337.0);
Tailwind
colors: {
custom: {
50: '#b96ba6',
500: '#972481',
950: '#000000',
},
}SCSS
$custom: #972481; $custom-light: #b96ba6; $custom-dark: #000000;
JSON
{
"hex": "#972481",
"rgb": {
"r": 151,
"g": 36,
"b": 129
},
"hsl": {
"h": 311.478,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.47893,
"c": 0.17957,
"h": 337
},
"luminance": 0.09426
}Semantic roles & 50–950 ramp
primary
#972481
secondary
#5ABD6D
accent
#E56243
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F