#97297F#97297F
#97297F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.172 H 338.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #97297F |
|---|---|
| RGB | rgb(151, 41, 127) |
| HSL | hsl(313, 57%, 38%) |
| HSV | hsv(313, 73%, 59%) |
| CMYK | cmyk(0%, 72.8%, 15.9%, 40.8%) |
| CIE-LAB | lab(37.30, 54.10, -23.72) |
| CIE-LCH | lch(37.30, 59.08, 336.33°) |
| OKLab | oklab(48.22% 0.16 -0.0643) |
| OKLCH | oklch(48.22% 0.172 338.1) |
| XYZ | xyz(17.3866, 9.6991, 21.0310) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.52
Barney Purple
#A00498
ΔE00 5.52
Red Violet
#9E0168
ΔE00 5.82
Light Eggplant
#894585
ΔE00 5.89
Darkmagenta
#8B008B
ΔE00 6.67
Bruise
#7E4071
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97297F #299741
analogous
#782997 #97297F #972948
triadic
#97297F #7F9729 #297F97
tetradic
#97297F #977829 #299741 #294897
square
#97297F #977829 #299741 #294897
split-complementary
#97297F #489729 #299778
monochromatic
#370F2E #671C57 #97297F #C736A7 #D565BD
Accessibility & contrast
On white
7.14
#97297F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#97297F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97297F
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97297F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97297F | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#9F2E51
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #97297f; /* rgb */ color: rgb(151, 41, 127); /* oklch */ color: oklch(48.2% 0.172 338.1);
Tailwind
colors: {
custom: {
50: '#b96da4',
500: '#97297f',
950: '#000000',
},
}SCSS
$custom: #97297f; $custom-light: #b96da4; $custom-dark: #000000;
JSON
{
"hex": "#97297f",
"rgb": {
"r": 151,
"g": 41,
"b": 127
},
"hsl": {
"h": 313.091,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.48224,
"c": 0.17245,
"h": 338.1
},
"luminance": 0.09697
}Semantic roles & 50–950 ramp
primary
#97297F
secondary
#61BB74
accent
#E16947
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F