#97407F#97407F
#97407F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 50.8% C 0.140 H 339.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #97407F |
|---|---|
| RGB | rgb(151, 64, 127) |
| HSL | hsl(317, 40%, 42%) |
| HSV | hsv(317, 58%, 59%) |
| CMYK | cmyk(0%, 57.6%, 15.9%, 40.8%) |
| CIE-LAB | lab(40.86, 44.28, -18.20) |
| CIE-LCH | lch(40.86, 47.88, 337.66°) |
| OKLab | oklab(50.83% 0.1306 -0.0489) |
| OKLCH | oklch(50.83% 0.14 339.5) |
| XYZ | xyz(18.4270, 11.7799, 21.3778) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 3.93
Bruise
#7E4071
ΔE00 5.31
Purpleish
#98568D
ΔE00 5.84
Purplish
#94568C
ΔE00 5.88
Warm Purple
#952E8F
ΔE00 6.04
Light Plum
#9D5783
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97407F #409758
analogous
#844097 #97407F #974053
triadic
#97407F #7F9740 #407F97
tetradic
#97407F #978440 #409758 #405397
square
#97407F #978440 #409758 #405397
split-complementary
#97407F #539740 #409784
monochromatic
#411C37 #6C2E5B #97407F #B95B9F #CC86B8
Accessibility & contrast
On white
6.26
#97407F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#97407F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #97407F
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97407F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97407F | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#5D657D
Tritanopia (blue-blind)
#9F425A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #97407f; /* rgb */ color: rgb(151, 64, 127); /* oklch */ color: oklch(50.8% 0.140 339.5);
Tailwind
colors: {
custom: {
50: '#b879a4',
500: '#97407f',
950: '#000000',
},
}SCSS
$custom: #97407f; $custom-light: #b879a4; $custom-dark: #000000;
JSON
{
"hex": "#97407f",
"rgb": {
"r": 151,
"g": 64,
"b": 127
},
"hsl": {
"h": 316.552,
"s": 40.465,
"l": 42.157
},
"oklch": {
"l": 0.50835,
"c": 0.13951,
"h": 339.5
},
"luminance": 0.11778
}Semantic roles & 50–950 ramp
primary
#97407F
secondary
#7DB68C
accent
#D07957
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#12090F
muted
#817B7F