#97297C#97297C
#97297C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.170 H 339.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #97297C |
|---|---|
| RGB | rgb(151, 41, 124) |
| HSL | hsl(315, 57%, 38%) |
| HSV | hsv(315, 73%, 59%) |
| CMYK | cmyk(0%, 72.8%, 17.9%, 40.8%) |
| CIE-LAB | lab(37.16, 53.66, -22.07) |
| CIE-LCH | lch(37.16, 58.02, 337.64°) |
| OKLab | oklab(48.08% 0.1596 -0.0596) |
| OKLCH | oklch(48.08% 0.17 339.5) |
| XYZ | xyz(17.1940, 9.6221, 20.0166) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.19
Red Violet
#9E0168
ΔE00 5.28
Light Eggplant
#894585
ΔE00 6.07
Barney Purple
#A00498
ΔE00 6.12
Bruise
#7E4071
ΔE00 6.65
Darkmagenta
#8B008B
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97297C #299744
analogous
#7B2997 #97297C #972945
triadic
#97297C #7C9729 #297C97
tetradic
#97297C #977B29 #299744 #294597
square
#97297C #977B29 #299744 #294597
split-complementary
#97297C #459729 #29977B
monochromatic
#370F2D #671C54 #97297C #C736A4 #D565BA
Accessibility & contrast
On white
7.18
#97297C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#97297C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97297C
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97297C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97297C | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#A02D4F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #97297c; /* rgb */ color: rgb(151, 41, 124); /* oklch */ color: oklch(48.1% 0.170 339.5);
Tailwind
colors: {
custom: {
50: '#b96da2',
500: '#97297c',
950: '#000000',
},
}SCSS
$custom: #97297c; $custom-light: #b96da2; $custom-dark: #000000;
JSON
{
"hex": "#97297c",
"rgb": {
"r": 151,
"g": 41,
"b": 124
},
"hsl": {
"h": 314.727,
"s": 57.292,
"l": 37.647
},
"oklch": {
"l": 0.48075,
"c": 0.17036,
"h": 339.5
},
"luminance": 0.0962
}Semantic roles & 50–950 ramp
primary
#97297C
secondary
#61BB77
accent
#E16D47
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F