Color #a6879b
A nearly neutral, gray-leaning medium magenta.
Conversions
#a6879b
rgb(166, 135, 155)
hsl(321.3, 14.8%, 59%)
hsv(321.3, 18.7%, 65.1%)
cmyk(0%, 18.7%, 6.6%, 34.9%)
lab(59.71, 15.25, -6.17)
lch(59.71, 16.45, 337.97)
oklch(65.9%, 0.0468, 339.63)
hwb(321.3, 52.9%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (6.56:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9a9996 · ΔE 17.1
Deuteranopia
#9b9e95 · ΔE 22.9
Tritanopia
#a59392 · ΔE 10.2
Achromatopsia
#909090 · ΔE 15.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a6879b;
bg-[#a6879b]
Related colors
Frequently asked questions
#a6879b (#a6879b) is rgb(166, 135, 155) in RGB.
No, #a6879b is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #a6879b, or check how it holds up for accessibility.