#972783#972783
#972783 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.178 H 336.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #972783 |
|---|---|
| RGB | rgb(151, 39, 131) |
| HSL | hsl(311, 59%, 37%) |
| HSV | hsv(311, 74%, 59%) |
| CMYK | cmyk(0%, 74.2%, 13.2%, 40.8%) |
| CIE-LAB | lab(37.24, 55.41, -26.28) |
| CIE-LCH | lch(37.24, 61.32, 334.62°) |
| OKLab | oklab(48.25% 0.1626 -0.0716) |
| OKLCH | oklch(48.25% 0.178 336.2) |
| XYZ | xyz(17.5850, 9.6706, 22.4088) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.68
Barney Purple
#A00498
ΔE00 4.59
Darkmagenta
#8B008B
ΔE00 5.86
Light Eggplant
#894585
ΔE00 6.00
Red Violet
#9E0168
ΔE00 6.51
Purple
#800080
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972783 #27973B
analogous
#732797 #972783 #97274B
triadic
#972783 #839727 #278397
tetradic
#972783 #977327 #27973B #274B97
square
#972783 #977327 #27973B #274B97
split-complementary
#972783 #4B9727 #279773
monochromatic
#360E2F #661A59 #972783 #C834AD #D662C2
Accessibility & contrast
On white
7.16
#972783 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#972783 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972783
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972783 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972783 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294D86
Deuteranopia (green-blind)
#505E80
Tritanopia (blue-blind)
#9F2F52
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #972783; /* rgb */ color: rgb(151, 39, 131); /* oklch */ color: oklch(48.3% 0.178 336.2);
Tailwind
colors: {
custom: {
50: '#b96da7',
500: '#972783',
950: '#000000',
},
}SCSS
$custom: #972783; $custom-light: #b96da7; $custom-dark: #000000;
JSON
{
"hex": "#972783",
"rgb": {
"r": 151,
"g": 39,
"b": 131
},
"hsl": {
"h": 310.714,
"s": 58.947,
"l": 37.255
},
"oklch": {
"l": 0.4825,
"c": 0.17765,
"h": 336.2
},
"luminance": 0.09669
}Semantic roles & 50–950 ramp
primary
#972783
secondary
#5EBC6F
accent
#E26246
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F