#97207F#97207F
#97207F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.182 H 337.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #97207F |
|---|---|
| RGB | rgb(151, 32, 127) |
| HSL | hsl(312, 65%, 36%) |
| HSV | hsv(312, 79%, 59%) |
| CMYK | cmyk(0%, 78.8%, 15.9%, 40.8%) |
| CIE-LAB | lab(36.26, 57.04, -25.33) |
| CIE-LCH | lch(36.26, 62.41, 336.06°) |
| OKLab | oklab(47.48% 0.1688 -0.0688) |
| OKLCH | oklch(47.48% 0.182 337.8) |
| XYZ | xyz(17.1102, 9.1463, 20.9389) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.63
Barney Purple
#A00498
ΔE00 4.86
Red Violet
#9E0168
ΔE00 5.63
Darkmagenta
#8B008B
ΔE00 5.68
Purple
#800080
ΔE00 6.74
Light Eggplant
#894585
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97207F #209738
analogous
#732097 #97207F #972043
triadic
#97207F #7F9720 #207F97
tetradic
#97207F #977320 #209738 #204397
square
#97207F #977320 #209738 #204397
split-complementary
#97207F #439720 #209773
monochromatic
#320B2A #641555 #97207F #C92BA9 #DB56C0
Accessibility & contrast
On white
7.42
#97207F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#97207F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97207F
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97207F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97207F | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254A81
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#A0274E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #97207f; /* rgb */ color: rgb(151, 32, 127); /* oklch */ color: oklch(47.5% 0.182 337.8);
Tailwind
colors: {
custom: {
50: '#b96aa4',
500: '#97207f',
950: '#000000',
},
}SCSS
$custom: #97207f; $custom-light: #b96aa4; $custom-dark: #000000;
JSON
{
"hex": "#97207f",
"rgb": {
"r": 151,
"g": 32,
"b": 127
},
"hsl": {
"h": 312.101,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.47479,
"c": 0.18233,
"h": 337.8
},
"luminance": 0.09145
}Semantic roles & 50–950 ramp
primary
#97207F
secondary
#54BF69
accent
#E86240
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F