#97257F#97257F
#97257F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.177 H 338.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #97257F |
|---|---|
| RGB | rgb(151, 37, 127) |
| HSL | hsl(313, 61%, 37%) |
| HSV | hsv(313, 75%, 59%) |
| CMYK | cmyk(0%, 75.5%, 15.9%, 40.8%) |
| CIE-LAB | lab(36.81, 55.48, -24.48) |
| CIE-LCH | lch(36.81, 60.64, 336.19°) |
| OKLab | oklab(47.87% 0.1641 -0.0664) |
| OKLCH | oklch(47.87% 0.177 338) |
| XYZ | xyz(17.2552, 9.4364, 20.9872) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.52
Barney Purple
#A00498
ΔE00 5.18
Red Violet
#9E0168
ΔE00 5.70
Darkmagenta
#8B008B
ΔE00 6.19
Light Eggplant
#894585
ΔE00 6.34
Bruise
#7E4071
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97257F #25973D
analogous
#762597 #97257F #972546
triadic
#97257F #7F9725 #257F97
tetradic
#97257F #977625 #25973D #254697
square
#97257F #977625 #25973D #254697
split-complementary
#97257F #469725 #259776
monochromatic
#350D2C #661956 #97257F #C831A8 #D85FBE
Accessibility & contrast
On white
7.27
#97257F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#97257F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97257F
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97257F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97257F | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#505D7C
Tritanopia (blue-blind)
#A02B4F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #97257f; /* rgb */ color: rgb(151, 37, 127); /* oklch */ color: oklch(47.9% 0.177 338.0);
Tailwind
colors: {
custom: {
50: '#b96ca4',
500: '#97257f',
950: '#000000',
},
}SCSS
$custom: #97257f; $custom-light: #b96ca4; $custom-dark: #000000;
JSON
{
"hex": "#97257f",
"rgb": {
"r": 151,
"g": 37,
"b": 127
},
"hsl": {
"h": 312.632,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.47873,
"c": 0.17708,
"h": 338
},
"luminance": 0.09435
}Semantic roles & 50–950 ramp
primary
#97257F
secondary
#5BBD70
accent
#E46644
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F