#8A7F8A#8A7F8A
#8A7F8A is a mid, muted grey. Relative luminance 0.224; OKLCH L 61.0% C 0.021 H 325.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7F8A |
|---|---|
| RGB | rgb(138, 127, 138) |
| HSL | hsl(300, 4%, 52%) |
| HSV | hsv(300, 8%, 54%) |
| CMYK | cmyk(0%, 8%, 0%, 45.9%) |
| CIE-LAB | lab(54.47, 6.29, -4.42) |
| CIE-LCH | lch(54.47, 7.69, 324.86°) |
| OKLab | oklab(60.99% 0.0173 -0.0117) |
| OKLCH | oklch(60.99% 0.021 325.8) |
| XYZ | xyz(22.6574, 22.4172, 27.1732) |
| Luminance | 0.2242 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Purpley Grey
#947E94
ΔE00 6.05
Purple Grey
#866F85
ΔE00 7.98
Gray
#808080
ΔE00 8.48
Warm Grey
#978A84
ΔE00 9.37
Greyish Purple
#887191
ΔE00 9.58
Purplish Grey
#7A687F
ΔE00 9.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7F8A #7F8A7F
analogous
#857F8A #8A7F8A #8A7F85
triadic
#8A7F8A #8A8A7F #7F8A8A
tetradic
#8A7F8A #8A857F #7F8A7F #7F858A
square
#8A7F8A #8A857F #7F8A7F #7F858A
split-complementary
#8A7F8A #858A7F #7F8A85
monochromatic
#4B444B #6A616A #8A7F8A #A79FA7 #C4BFC4
Accessibility & contrast
On white
3.83
#8A7F8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#8A7F8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7F8A
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7F8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7F8A | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E818B
Deuteranopia (green-blind)
#81838A
Tritanopia (blue-blind)
#8B8083
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a7f8a; /* rgb */ color: rgb(138, 127, 138); /* oklch */ color: oklch(61.0% 0.021 325.8);
Tailwind
colors: {
custom: {
50: '#aca4ac',
500: '#8a7f8a',
950: '#000000',
},
}SCSS
$custom: #8a7f8a; $custom-light: #aca4ac; $custom-dark: #000000;
JSON
{
"hex": "#8a7f8a",
"rgb": {
"r": 138,
"g": 127,
"b": 138
},
"hsl": {
"h": 300,
"s": 4.49,
"l": 51.961
},
"oklch": {
"l": 0.60985,
"c": 0.0209,
"h": 325.8
},
"luminance": 0.22417
}Semantic roles & 50–950 ramp
primary
#8A7F8A
secondary
#B0B5B0
accent
#AE7A7A
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#100F10
muted
#7F7F7F