#97307F#97307F
#97307F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.164 H 338.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #97307F |
|---|---|
| RGB | rgb(151, 48, 127) |
| HSL | hsl(314, 52%, 39%) |
| HSV | hsv(314, 68%, 59%) |
| CMYK | cmyk(0%, 68.2%, 15.9%, 40.8%) |
| CIE-LAB | lab(38.25, 51.44, -22.24) |
| CIE-LCH | lch(38.25, 56.04, 336.62°) |
| OKLab | oklab(48.91% 0.152 -0.0602) |
| OKLCH | oklch(48.91% 0.164 338.4) |
| XYZ | xyz(17.6506, 10.2271, 21.1190) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.82
Light Eggplant
#894585
ΔE00 5.07
Bruise
#7E4071
ΔE00 6.18
Red Violet
#9E0168
ΔE00 6.22
Barney Purple
#A00498
ΔE00 6.31
Ugly Purple
#A442A0
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97307F #309748
analogous
#7C3097 #97307F #97304B
triadic
#97307F #7F9730 #307F97
tetradic
#97307F #977C30 #309748 #304B97
square
#97307F #977C30 #309748 #304B97
split-complementary
#97307F #4B9730 #30977C
monochromatic
#3A1231 #692158 #97307F #C341A5 #D270BB
Accessibility & contrast
On white
6.90
#97307F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#97307F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #97307F
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97307F | 1.00 | 6.90 | 3.05 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#9F3453
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #97307f; /* rgb */ color: rgb(151, 48, 127); /* oklch */ color: oklch(48.9% 0.164 338.4);
Tailwind
colors: {
custom: {
50: '#b971a4',
500: '#97307f',
950: '#000000',
},
}SCSS
$custom: #97307f; $custom-light: #b971a4; $custom-dark: #000000;
JSON
{
"hex": "#97307f",
"rgb": {
"r": 151,
"g": 48,
"b": 127
},
"hsl": {
"h": 313.981,
"s": 51.759,
"l": 39.02
},
"oklch": {
"l": 0.48914,
"c": 0.1635,
"h": 338.4
},
"luminance": 0.10226
}Semantic roles & 50–950 ramp
primary
#97307F
secondary
#6AB97C
accent
#DB6E4D
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F