#95197F#95197F
#95197F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.7% C 0.188 H 336.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #95197F |
|---|---|
| RGB | rgb(149, 25, 127) |
| HSL | hsl(311, 71%, 34%) |
| HSV | hsv(311, 83%, 58%) |
| CMYK | cmyk(0%, 83.2%, 14.8%, 41.6%) |
| CIE-LAB | lab(35.24, 58.48, -26.96) |
| CIE-LCH | lch(35.24, 64.39, 335.25°) |
| OKLab | oklab(46.67% 0.1726 -0.0735) |
| OKLCH | oklch(46.67% 0.188 336.9) |
| XYZ | xyz(16.5732, 8.6187, 20.8653) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.87
Barney Purple
#A00498
ΔE00 4.53
Darkmagenta
#8B008B
ΔE00 4.74
Purple
#800080
ΔE00 5.74
Red Violet
#9E0168
ΔE00 5.91
Darkish Purple
#751973
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#95197F #19952F
analogous
#6D1995 #95197F #951941
triadic
#95197F #7F9519 #197F95
tetradic
#95197F #956D19 #19952F #194195
square
#95197F #956D19 #19952F #194195
split-complementary
#95197F #419519 #19956D
monochromatic
#2C0726 #611052 #95197F #C922AC #E048C5
Accessibility & contrast
On white
7.71
#95197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#95197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #95197F
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##95197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##95197F | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4782
Deuteranopia (green-blind)
#4B597C
Tritanopia (blue-blind)
#9D234C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #95197f; /* rgb */ color: rgb(149, 25, 127); /* oklch */ color: oklch(46.7% 0.188 336.9);
Tailwind
colors: {
custom: {
50: '#b867a4',
500: '#95197f',
950: '#000000',
},
}SCSS
$custom: #95197f; $custom-light: #b867a4; $custom-dark: #000000;
JSON
{
"hex": "#95197f",
"rgb": {
"r": 149,
"g": 25,
"b": 127
},
"hsl": {
"h": 310.645,
"s": 71.264,
"l": 34.118
},
"oklch": {
"l": 0.46674,
"c": 0.18757,
"h": 336.9
},
"luminance": 0.08617
}Semantic roles & 50–950 ramp
primary
#95197F
secondary
#48C25E
accent
#EE5A3A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F