#97257B#97257B
#97257B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.174 H 339.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #97257B |
|---|---|
| RGB | rgb(151, 37, 123) |
| HSL | hsl(315, 61%, 37%) |
| HSV | hsv(315, 75%, 59%) |
| CMYK | cmyk(0%, 75.5%, 18.5%, 40.8%) |
| CIE-LAB | lab(36.62, 54.90, -22.28) |
| CIE-LCH | lch(36.62, 59.25, 337.91°) |
| OKLab | oklab(47.67% 0.1636 -0.0602) |
| OKLCH | oklch(47.67% 0.174 339.8) |
| XYZ | xyz(16.9997, 9.3342, 19.6414) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.36
Red Violet
#9E0168
ΔE00 4.94
Barney Purple
#A00498
ΔE00 5.99
Light Eggplant
#894585
ΔE00 6.57
Darkmagenta
#8B008B
ΔE00 6.84
Bruise
#7E4071
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97257B #259741
analogous
#7A2597 #97257B #972542
triadic
#97257B #7B9725 #257B97
tetradic
#97257B #977A25 #259741 #254297
square
#97257B #977A25 #259741 #254297
split-complementary
#97257B #429725 #25977A
monochromatic
#350D2B #661953 #97257B #C831A3 #D85FBA
Accessibility & contrast
On white
7.33
#97257B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#97257B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97257B
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97257B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97257B | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4B7D
Deuteranopia (green-blind)
#525D78
Tritanopia (blue-blind)
#A0294D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #97257b; /* rgb */ color: rgb(151, 37, 123); /* oklch */ color: oklch(47.7% 0.174 339.8);
Tailwind
colors: {
custom: {
50: '#b96ca1',
500: '#97257b',
950: '#000000',
},
}SCSS
$custom: #97257b; $custom-light: #b96ca1; $custom-dark: #000000;
JSON
{
"hex": "#97257b",
"rgb": {
"r": 151,
"g": 37,
"b": 123
},
"hsl": {
"h": 314.737,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.47672,
"c": 0.17434,
"h": 339.8
},
"luminance": 0.09333
}Semantic roles & 50–950 ramp
primary
#97257B
secondary
#5BBD73
accent
#E46B44
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E