#8A5E7E#8A5E7E
#8A5E7E is a mid, moderate pink. Relative luminance 0.149; OKLCH L 53.9% C 0.073 H 337.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5E7E |
|---|---|
| RGB | rgb(138, 94, 126) |
| HSL | hsl(316, 19%, 45%) |
| HSV | hsv(316, 32%, 54%) |
| CMYK | cmyk(0%, 31.9%, 8.7%, 45.9%) |
| CIE-LAB | lab(45.52, 23.29, -10.67) |
| CIE-LCH | lch(45.52, 25.62, 335.38°) |
| OKLab | oklab(53.95% 0.0671 -0.0285) |
| OKLCH | oklch(53.95% 0.073 337) |
| XYZ | xyz(18.2497, 14.9158, 21.6524) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dusky Purple
#895B7B
ΔE00 1.05
Dull Purple
#84597E
ΔE00 2.50
Dusty Purple
#825F87
ΔE00 4.00
Muted Purple
#805B87
ΔE00 4.91
Light Plum
#9D5783
ΔE00 5.22
Purplish
#94568C
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5E7E #5E8A6A
analogous
#805E8A #8A5E7E #8A5E68
triadic
#8A5E7E #7E8A5E #5E7E8A
tetradic
#8A5E7E #8A805E #5E8A6A #5E688A
square
#8A5E7E #8A805E #5E8A6A #5E688A
split-complementary
#8A5E7E #688A5E #5E8A80
monochromatic
#412C3C #66455D #8A5E7E #A77E9C #C0A2B8
Accessibility & contrast
On white
5.27
#8A5E7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#8A5E7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5E7E
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5E7E | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F687F
Deuteranopia (green-blind)
#696E7D
Tritanopia (blue-blind)
#8F5F69
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a5e7e; /* rgb */ color: rgb(138, 94, 126); /* oklch */ color: oklch(53.9% 0.073 337.0);
Tailwind
colors: {
custom: {
50: '#ad8ca3',
500: '#8a5e7e',
950: '#000000',
},
}SCSS
$custom: #8a5e7e; $custom-light: #ad8ca3; $custom-dark: #000000;
JSON
{
"hex": "#8a5e7e",
"rgb": {
"r": 138,
"g": 94,
"b": 126
},
"hsl": {
"h": 316.364,
"s": 18.966,
"l": 45.49
},
"oklch": {
"l": 0.53947,
"c": 0.07285,
"h": 337
},
"luminance": 0.14915
}Semantic roles & 50–950 ramp
primary
#8A5E7E
secondary
#96AE9C
accent
#BC826C
background
#FAF8FA
surface
#F4F0F3
border
#CECBCD
text
#100C0F
muted
#7F7D7F