#97207E#97207E
#97207E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.182 H 338.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #97207E |
|---|---|
| RGB | rgb(151, 32, 126) |
| HSL | hsl(313, 65%, 36%) |
| HSV | hsv(313, 79%, 59%) |
| CMYK | cmyk(0%, 78.8%, 16.6%, 40.8%) |
| CIE-LAB | lab(36.22, 56.90, -24.78) |
| CIE-LCH | lch(36.22, 62.06, 336.46°) |
| OKLab | oklab(47.43% 0.1687 -0.0673) |
| OKLCH | oklch(47.43% 0.182 338.3) |
| XYZ | xyz(17.0453, 9.1204, 20.5973) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.82
Barney Purple
#A00498
ΔE00 5.06
Red Violet
#9E0168
ΔE00 5.44
Darkmagenta
#8B008B
ΔE00 5.84
Purple
#800080
ΔE00 6.84
Light Eggplant
#894585
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97207E #209739
analogous
#742097 #97207E #972042
triadic
#97207E #7E9720 #207E97
tetradic
#97207E #977420 #209739 #204297
square
#97207E #977420 #209739 #204297
split-complementary
#97207E #429720 #209774
monochromatic
#320B2A #641554 #97207E #C92BA8 #DB56BF
Accessibility & contrast
On white
7.44
#97207E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#97207E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97207E
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97207E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97207E | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#4F5C7B
Tritanopia (blue-blind)
#A0274D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #97207e; /* rgb */ color: rgb(151, 32, 126); /* oklch */ color: oklch(47.4% 0.182 338.3);
Tailwind
colors: {
custom: {
50: '#b96aa3',
500: '#97207e',
950: '#000000',
},
}SCSS
$custom: #97207e; $custom-light: #b96aa3; $custom-dark: #000000;
JSON
{
"hex": "#97207e",
"rgb": {
"r": 151,
"g": 32,
"b": 126
},
"hsl": {
"h": 312.605,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.47427,
"c": 0.18165,
"h": 338.3
},
"luminance": 0.09119
}Semantic roles & 50–950 ramp
primary
#97207E
secondary
#54BF6A
accent
#E86340
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F