#973178#973178
#973178 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.157 H 342.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #973178 |
|---|---|
| RGB | rgb(151, 49, 120) |
| HSL | hsl(318, 51%, 39%) |
| HSV | hsv(318, 68%, 59%) |
| CMYK | cmyk(0%, 67.5%, 20.5%, 40.8%) |
| CIE-LAB | lab(38.08, 49.99, -18.15) |
| CIE-LCH | lch(38.08, 53.18, 340.04°) |
| OKLab | oklab(48.69% 0.1495 -0.0486) |
| OKLCH | oklch(48.69% 0.157 342) |
| XYZ | xyz(17.2515, 10.1336, 18.8131) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.28
Warm Purple
#952E8F
ΔE00 5.53
Light Eggplant
#894585
ΔE00 5.72
Bruise
#7E4071
ΔE00 5.79
Deep Magenta
#A0025C
ΔE00 7.48
Barney Purple
#A00498
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#973178 #319750
analogous
#833197 #973178 #973145
triadic
#973178 #789731 #317897
tetradic
#973178 #978331 #319750 #314597
square
#973178 #978331 #319750 #314597
split-complementary
#973178 #459731 #319783
monochromatic
#3B132F #692253 #973178 #C2439B #D171B4
Accessibility & contrast
On white
6.94
#973178 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#973178 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #973178
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##973178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##973178 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A03250
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #973178; /* rgb */ color: rgb(151, 49, 120); /* oklch */ color: oklch(48.7% 0.157 342.0);
Tailwind
colors: {
custom: {
50: '#b9719f',
500: '#973178',
950: '#000000',
},
}SCSS
$custom: #973178; $custom-light: #b9719f; $custom-dark: #000000;
JSON
{
"hex": "#973178",
"rgb": {
"r": 151,
"g": 49,
"b": 120
},
"hsl": {
"h": 318.235,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.48691,
"c": 0.15723,
"h": 342
},
"luminance": 0.10132
}Semantic roles & 50–950 ramp
primary
#973178
secondary
#6BB983
accent
#DA784D
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E