#972997#972997
#972997 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.191 H 328.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #972997 |
|---|---|
| RGB | rgb(151, 41, 151) |
| HSL | hsl(300, 57%, 38%) |
| HSV | hsv(300, 73%, 59%) |
| CMYK | cmyk(0%, 72.8%, 0%, 40.8%) |
| CIE-LAB | lab(38.55, 57.94, -36.48) |
| CIE-LCH | lch(38.55, 68.46, 327.80°) |
| OKLab | oklab(49.54% 0.1616 -0.101) |
| OKLCH | oklch(49.54% 0.191 328) |
| XYZ | xyz(19.1411, 10.4009, 30.2716) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.69
Barney Purple
#A00498
ΔE00 2.71
Darkmagenta
#8B008B
ΔE00 5.09
Medium Purple
#9E43A2
ΔE00 5.35
Barney
#AC1DB8
ΔE00 5.74
Ugly Purple
#A442A0
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972997 #299729
analogous
#602997 #972997 #972960
triadic
#972997 #979729 #299797
tetradic
#972997 #976029 #299729 #296097
square
#972997 #976029 #299729 #296097
split-complementary
#972997 #609729 #299760
monochromatic
#370F37 #671C67 #972997 #C736C7 #D565D5
Accessibility & contrast
On white
6.82
#972997 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#972997 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #972997
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972997 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14529A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#9C3A5E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #972997; /* rgb */ color: rgb(151, 41, 151); /* oklch */ color: oklch(49.5% 0.191 328.0);
Tailwind
colors: {
custom: {
50: '#b96eb6',
500: '#972997',
950: '#000000',
},
}SCSS
$custom: #972997; $custom-light: #b96eb6; $custom-dark: #000000;
JSON
{
"hex": "#972997",
"rgb": {
"r": 151,
"g": 41,
"b": 151
},
"hsl": {
"h": 300,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.49536,
"c": 0.1906,
"h": 328
},
"luminance": 0.104
}Semantic roles & 50–950 ramp
primary
#972997
secondary
#61BB61
accent
#E14747
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80