#97297D#97297D
#97297D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.171 H 339.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #97297D |
|---|---|
| RGB | rgb(151, 41, 125) |
| HSL | hsl(314, 57%, 38%) |
| HSV | hsv(314, 73%, 59%) |
| CMYK | cmyk(0%, 72.8%, 17.2%, 40.8%) |
| CIE-LAB | lab(37.20, 53.81, -22.62) |
| CIE-LCH | lch(37.20, 58.37, 337.20°) |
| OKLab | oklab(48.13% 0.1597 -0.0612) |
| OKLCH | oklch(48.13% 0.171 339) |
| XYZ | xyz(17.2575, 9.6475, 20.3513) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.96
Red Violet
#9E0168
ΔE00 5.46
Barney Purple
#A00498
ΔE00 5.92
Light Eggplant
#894585
ΔE00 6.00
Bruise
#7E4071
ΔE00 6.71
Darkmagenta
#8B008B
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97297D #299743
analogous
#7A2997 #97297D #972946
triadic
#97297D #7D9729 #297D97
tetradic
#97297D #977A29 #299743 #294697
square
#97297D #977A29 #299743 #294697
split-complementary
#97297D #469729 #29977A
monochromatic
#370F2D #671C55 #97297D #C736A5 #D565BB
Accessibility & contrast
On white
7.17
#97297D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#97297D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97297D
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97297D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97297D | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A02D4F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #97297d; /* rgb */ color: rgb(151, 41, 125); /* oklch */ color: oklch(48.1% 0.171 339.0);
Tailwind
colors: {
custom: {
50: '#b96da3',
500: '#97297d',
950: '#000000',
},
}SCSS
$custom: #97297d; $custom-light: #b96da3; $custom-dark: #000000;
JSON
{
"hex": "#97297d",
"rgb": {
"r": 151,
"g": 41,
"b": 125
},
"hsl": {
"h": 314.182,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.48125,
"c": 0.17105,
"h": 339
},
"luminance": 0.09646
}Semantic roles & 50–950 ramp
primary
#97297D
secondary
#61BB76
accent
#E16B47
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F