#97297E#97297E
#97297E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.172 H 338.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #97297E |
|---|---|
| RGB | rgb(151, 41, 126) |
| HSL | hsl(314, 57%, 38%) |
| HSV | hsv(314, 73%, 59%) |
| CMYK | cmyk(0%, 72.8%, 16.6%, 40.8%) |
| CIE-LAB | lab(37.25, 53.96, -23.17) |
| CIE-LCH | lch(37.25, 58.72, 336.76°) |
| OKLab | oklab(48.17% 0.1599 -0.0628) |
| OKLCH | oklch(48.17% 0.172 338.6) |
| XYZ | xyz(17.3217, 9.6732, 20.6895) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.74
Red Violet
#9E0168
ΔE00 5.64
Barney Purple
#A00498
ΔE00 5.72
Light Eggplant
#894585
ΔE00 5.94
Bruise
#7E4071
ΔE00 6.77
Darkmagenta
#8B008B
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97297E #299742
analogous
#792997 #97297E #972947
triadic
#97297E #7E9729 #297E97
tetradic
#97297E #977929 #299742 #294797
square
#97297E #977929 #299742 #294797
split-complementary
#97297E #479729 #299779
monochromatic
#370F2E #671C56 #97297E #C736A6 #D565BC
Accessibility & contrast
On white
7.16
#97297E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#97297E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97297E
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97297E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97297E | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#A02E50
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #97297e; /* rgb */ color: rgb(151, 41, 126); /* oklch */ color: oklch(48.2% 0.172 338.6);
Tailwind
colors: {
custom: {
50: '#b96da3',
500: '#97297e',
950: '#000000',
},
}SCSS
$custom: #97297e; $custom-light: #b96da3; $custom-dark: #000000;
JSON
{
"hex": "#97297e",
"rgb": {
"r": 151,
"g": 41,
"b": 126
},
"hsl": {
"h": 313.636,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.48174,
"c": 0.17175,
"h": 338.6
},
"luminance": 0.09672
}Semantic roles & 50–950 ramp
primary
#97297E
secondary
#61BB75
accent
#E16A47
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F