#8A537B#8A537B
#8A537B is a mid, moderate pink. Relative luminance 0.130; OKLCH L 51.8% C 0.091 H 337.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8A537B |
|---|---|
| RGB | rgb(138, 83, 123) |
| HSL | hsl(316, 25%, 43%) |
| HSV | hsv(316, 40%, 54%) |
| CMYK | cmyk(0%, 39.9%, 10.9%, 45.9%) |
| CIE-LAB | lab(42.79, 29.11, -12.97) |
| CIE-LCH | lch(42.79, 31.87, 335.99°) |
| OKLab | oklab(51.84% 0.0844 -0.0347) |
| OKLCH | oklch(51.84% 0.091 337.7) |
| XYZ | xyz(17.1496, 13.0208, 20.3450) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Purple
#84597E
ΔE00 2.70
Dusky Purple
#895B7B
ΔE00 3.00
Purplish
#94568C
ΔE00 4.16
Light Plum
#9D5783
ΔE00 4.37
Purpleish
#98568D
ΔE00 4.59
Muted Purple
#805B87
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A537B #538A62
analogous
#7D538A #8A537B #8A535F
triadic
#8A537B #7B8A53 #537B8A
tetradic
#8A537B #8A7D53 #538A62 #535F8A
square
#8A537B #8A7D53 #538A62 #535F8A
split-complementary
#8A537B #5F8A53 #538A7D
monochromatic
#3E2537 #643C59 #8A537B #A9719A #C097B5
Accessibility & contrast
On white
5.83
#8A537B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#8A537B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A537B
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A537B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A537B | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54607C
Deuteranopia (green-blind)
#626879
Tritanopia (blue-blind)
#905562
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8a537b; /* rgb */ color: rgb(138, 83, 123); /* oklch */ color: oklch(51.8% 0.091 337.7);
Tailwind
colors: {
custom: {
50: '#ad84a1',
500: '#8a537b',
950: '#000000',
},
}SCSS
$custom: #8a537b; $custom-light: #ad84a1; $custom-dark: #000000;
JSON
{
"hex": "#8a537b",
"rgb": {
"r": 138,
"g": 83,
"b": 123
},
"hsl": {
"h": 316.364,
"s": 24.887,
"l": 43.333
},
"oklch": {
"l": 0.51843,
"c": 0.09128,
"h": 337.7
},
"luminance": 0.1302
}Semantic roles & 50–950 ramp
primary
#8A537B
secondary
#8BAE95
accent
#C17F66
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100B0F
muted
#7F7C7E