#8A5F7C#8A5F7C
#8A5F7C is a mid, moderate pink. Relative luminance 0.150; OKLCH L 54.1% C 0.069 H 339.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5F7C |
|---|---|
| RGB | rgb(138, 95, 124) |
| HSL | hsl(320, 18%, 46%) |
| HSV | hsv(320, 31%, 54%) |
| CMYK | cmyk(0%, 31.2%, 10.1%, 45.9%) |
| CIE-LAB | lab(45.69, 22.33, -9.20) |
| CIE-LCH | lch(45.69, 24.15, 337.60°) |
| OKLab | oklab(54.06% 0.0647 -0.0244) |
| OKLCH | oklch(54.06% 0.069 339.3) |
| XYZ | xyz(18.2114, 15.0437, 21.0093) |
| Luminance | 0.1504 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dusky Purple
#895B7B
ΔE00 1.49
Dull Purple
#84597E
ΔE00 3.27
Dusty Purple
#825F87
ΔE00 4.67
Light Plum
#9D5783
ΔE00 5.66
Muted Purple
#805B87
ΔE00 5.69
Purplish
#94568C
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5F7C #5F8A6D
analogous
#825F8A #8A5F7C #8A5F66
triadic
#8A5F7C #7C8A5F #5F7C8A
tetradic
#8A5F7C #8A825F #5F8A6D #5F668A
square
#8A5F7C #8A825F #5F8A6D #5F668A
split-complementary
#8A5F7C #668A5F #5F8A82
monochromatic
#422D3B #66465B #8A5F7C #A77F9A #C0A3B7
Accessibility & contrast
On white
5.24
#8A5F7C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#8A5F7C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5F7C
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5F7C | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60687D
Deuteranopia (green-blind)
#6B6F7B
Tritanopia (blue-blind)
#8F6069
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a5f7c; /* rgb */ color: rgb(138, 95, 124); /* oklch */ color: oklch(54.1% 0.069 339.3);
Tailwind
colors: {
custom: {
50: '#ad8da2',
500: '#8a5f7c',
950: '#000000',
},
}SCSS
$custom: #8a5f7c; $custom-light: #ad8da2; $custom-dark: #000000;
JSON
{
"hex": "#8a5f7c",
"rgb": {
"r": 138,
"g": 95,
"b": 124
},
"hsl": {
"h": 319.535,
"s": 18.455,
"l": 45.686
},
"oklch": {
"l": 0.54058,
"c": 0.06916,
"h": 339.3
},
"luminance": 0.15043
}Semantic roles & 50–950 ramp
primary
#8A5F7C
secondary
#96AE9E
accent
#BB866D
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100C0F
muted
#7F7D7E