#8A477E#8A477E
#8A477E is a mid, moderate pink. Relative luminance 0.114; OKLCH L 50.0% C 0.116 H 334.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8A477E |
|---|---|
| RGB | rgb(138, 71, 126) |
| HSL | hsl(311, 32%, 41%) |
| HSV | hsv(311, 49%, 54%) |
| CMYK | cmyk(0%, 48.6%, 8.7%, 45.9%) |
| CIE-LAB | lab(40.27, 36.36, -18.66) |
| CIE-LCH | lch(40.27, 40.87, 332.84°) |
| OKLab | oklab(49.99% 0.1047 -0.0505) |
| OKLCH | oklch(49.99% 0.116 334.3) |
| XYZ | xyz(16.5003, 11.4171, 21.0693) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 2.20
Bruise
#7E4071
ΔE00 3.44
Purplish
#94568C
ΔE00 4.84
Purpleish
#98568D
ΔE00 5.27
Dull Purple
#84597E
ΔE00 6.10
Light Plum
#9D5783
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A477E #478A53
analogous
#74478A #8A477E #8A475C
triadic
#8A477E #7E8A47 #477E8A
tetradic
#8A477E #8A7447 #478A53 #475C8A
square
#8A477E #8A7447 #478A53 #475C8A
split-complementary
#8A477E #5C8A47 #478A74
monochromatic
#391D34 #623259 #8A477E #AE61A0 #C289B8
Accessibility & contrast
On white
6.40
#8A477E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#8A477E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A477E
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A477E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A477E | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#59627C
Tritanopia (blue-blind)
#904B5C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a477e; /* rgb */ color: rgb(138, 71, 126); /* oklch */ color: oklch(50.0% 0.116 334.3);
Tailwind
colors: {
custom: {
50: '#ae7da3',
500: '#8a477e',
950: '#000000',
},
}SCSS
$custom: #8a477e; $custom-light: #ae7da3; $custom-dark: #000000;
JSON
{
"hex": "#8a477e",
"rgb": {
"r": 138,
"g": 71,
"b": 126
},
"hsl": {
"h": 310.746,
"s": 32.057,
"l": 40.98
},
"oklch": {
"l": 0.49991,
"c": 0.11621,
"h": 334.3
},
"luminance": 0.11416
}Semantic roles & 50–950 ramp
primary
#8A477E
secondary
#7FAE87
accent
#C87260
background
#FAF7FA
surface
#F5EEF3
border
#CFC9CD
text
#100A0F
muted
#7F7C7F