#97257C#97257C
#97257C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.175 H 339.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #97257C |
|---|---|
| RGB | rgb(151, 37, 124) |
| HSL | hsl(314, 61%, 37%) |
| HSV | hsv(314, 75%, 59%) |
| CMYK | cmyk(0%, 75.5%, 17.9%, 40.8%) |
| CIE-LAB | lab(36.67, 55.05, -22.83) |
| CIE-LCH | lch(36.67, 59.59, 337.47°) |
| OKLab | oklab(47.72% 0.1638 -0.0618) |
| OKLCH | oklch(47.72% 0.175 339.3) |
| XYZ | xyz(17.0626, 9.3593, 19.9728) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.15
Red Violet
#9E0168
ΔE00 5.13
Barney Purple
#A00498
ΔE00 5.78
Light Eggplant
#894585
ΔE00 6.50
Darkmagenta
#8B008B
ΔE00 6.67
Bruise
#7E4071
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97257C #259740
analogous
#792597 #97257C #972543
triadic
#97257C #7C9725 #257C97
tetradic
#97257C #977925 #259740 #254397
square
#97257C #977925 #259740 #254397
split-complementary
#97257C #439725 #259779
monochromatic
#350D2B #661954 #97257C #C831A4 #D85FBB
Accessibility & contrast
On white
7.31
#97257C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#97257C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97257C
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97257C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97257C | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A02A4E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97257c; /* rgb */ color: rgb(151, 37, 124); /* oklch */ color: oklch(47.7% 0.175 339.3);
Tailwind
colors: {
custom: {
50: '#b96ca2',
500: '#97257c',
950: '#000000',
},
}SCSS
$custom: #97257c; $custom-light: #b96ca2; $custom-dark: #000000;
JSON
{
"hex": "#97257c",
"rgb": {
"r": 151,
"g": 37,
"b": 124
},
"hsl": {
"h": 314.211,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.47722,
"c": 0.17502,
"h": 339.3
},
"luminance": 0.09358
}Semantic roles & 50–950 ramp
primary
#97257C
secondary
#5BBD72
accent
#E46A44
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F