Color #a66199
A muted medium magenta.
Conversions
#a66199
rgb(166, 97, 153)
hsl(311.3, 27.9%, 51.6%)
hsv(311.3, 41.6%, 65.1%)
cmyk(0%, 41.6%, 7.8%, 34.9%)
lab(50.64, 36.3, -18.68)
lch(50.64, 40.82, 332.77)
oklch(58.9%, 0.1157, 334.17)
hwb(311.3, 38%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (4.79:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8d8d8e · ΔE 24.3
Deuteranopia
#91968b · ΔE 34.8
Tritanopia
#a38482 · ΔE 19.7
Achromatopsia
#797979 · ΔE 23.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a66199;
bg-[#a66199]
Related colors
Frequently asked questions
#a66199 (#a66199) is rgb(166, 97, 153) in RGB.
No, #a66199 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 #a66199, or check how it holds up for accessibility.