#8A477D#8A477D
#8A477D is a mid, moderate pink. Relative luminance 0.114; OKLCH L 49.9% C 0.115 H 334.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A477D |
|---|---|
| RGB | rgb(138, 71, 125) |
| HSL | hsl(312, 32%, 41%) |
| HSV | hsv(312, 49%, 54%) |
| CMYK | cmyk(0%, 48.6%, 9.4%, 45.9%) |
| CIE-LAB | lab(40.23, 36.18, -18.11) |
| CIE-LCH | lch(40.23, 40.46, 333.42°) |
| OKLab | oklab(49.95% 0.1044 -0.0489) |
| OKLCH | oklch(49.95% 0.115 334.9) |
| XYZ | xyz(16.4361, 11.3915, 20.7311) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 2.46
Bruise
#7E4071
ΔE00 3.34
Purplish
#94568C
ΔE00 4.91
Purpleish
#98568D
ΔE00 5.32
Dull Purple
#84597E
ΔE00 6.03
Light Plum
#9D5783
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A477D #478A54
analogous
#75478A #8A477D #8A475B
triadic
#8A477D #7D8A47 #477D8A
tetradic
#8A477D #8A7547 #478A54 #475B8A
square
#8A477D #8A7547 #478A54 #475B8A
split-complementary
#8A477D #5B8A47 #478A75
monochromatic
#391D34 #623258 #8A477D #AE619F #C289B7
Accessibility & contrast
On white
6.41
#8A477D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#8A477D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A477D
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A477D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A477D | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47597F
Deuteranopia (green-blind)
#59627B
Tritanopia (blue-blind)
#904A5C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a477d; /* rgb */ color: rgb(138, 71, 125); /* oklch */ color: oklch(49.9% 0.115 334.9);
Tailwind
colors: {
custom: {
50: '#ae7da2',
500: '#8a477d',
950: '#000000',
},
}SCSS
$custom: #8a477d; $custom-light: #ae7da2; $custom-dark: #000000;
JSON
{
"hex": "#8a477d",
"rgb": {
"r": 138,
"g": 71,
"b": 125
},
"hsl": {
"h": 311.642,
"s": 32.057,
"l": 40.98
},
"oklch": {
"l": 0.49945,
"c": 0.11532,
"h": 334.9
},
"luminance": 0.1139
}Semantic roles & 50–950 ramp
primary
#8A477D
secondary
#7FAE88
accent
#C87460
background
#FAF7FA
surface
#F5EEF3
border
#CFC9CD
text
#100A0F
muted
#7F7C7F