#96197F#96197F
#96197F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.8% C 0.188 H 337.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #96197F |
|---|---|
| RGB | rgb(150, 25, 127) |
| HSL | hsl(311, 71%, 34%) |
| HSV | hsv(311, 83%, 59%) |
| CMYK | cmyk(0%, 83.3%, 15.3%, 41.2%) |
| CIE-LAB | lab(35.43, 58.70, -26.66) |
| CIE-LCH | lch(35.43, 64.47, 335.58°) |
| OKLab | oklab(46.84% 0.1735 -0.0726) |
| OKLCH | oklch(46.84% 0.188 337.3) |
| XYZ | xyz(16.7564, 8.7132, 20.8739) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.89
Barney Purple
#A00498
ΔE00 4.55
Darkmagenta
#8B008B
ΔE00 4.93
Red Violet
#9E0168
ΔE00 5.78
Purple
#800080
ΔE00 5.96
Darkish Purple
#751973
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96197F #199630
analogous
#6F1996 #96197F #961941
triadic
#96197F #7F9619 #197F96
tetradic
#96197F #966F19 #199630 #194196
square
#96197F #966F19 #199630 #194196
split-complementary
#96197F #419619 #19966F
monochromatic
#2D0826 #621053 #96197F #CA22AB #E149C5
Accessibility & contrast
On white
7.66
#96197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#96197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96197F
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96197F | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4782
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#9E234C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #96197f; /* rgb */ color: rgb(150, 25, 127); /* oklch */ color: oklch(46.8% 0.188 337.3);
Tailwind
colors: {
custom: {
50: '#b967a4',
500: '#96197f',
950: '#000000',
},
}SCSS
$custom: #96197f; $custom-light: #b967a4; $custom-dark: #000000;
JSON
{
"hex": "#96197f",
"rgb": {
"r": 150,
"g": 25,
"b": 127
},
"hsl": {
"h": 311.04,
"s": 71.429,
"l": 34.314
},
"oklch": {
"l": 0.46843,
"c": 0.18811,
"h": 337.3
},
"luminance": 0.08712
}Semantic roles & 50–950 ramp
primary
#96197F
secondary
#49C25F
accent
#EE5B3A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F