Color #a66699
A muted medium magenta.
Conversions
#a66699
rgb(166, 102, 153)
hsl(312.2, 26.4%, 52.5%)
hsv(312.2, 38.6%, 65.1%)
cmyk(0%, 38.6%, 7.8%, 34.9%)
lab(51.74, 33.55, -17)
lch(51.74, 37.61, 333.13)
oklch(59.7%, 0.1065, 334.59)
hwb(312.2, 40%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (4.98:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8e8f · ΔE 23.4
Deuteranopia
#92968c · ΔE 33.1
Tritanopia
#a48684 · ΔE 18.7
Achromatopsia
#7b7b7b · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a66699;
bg-[#a66699]
Related colors
Frequently asked questions
#a66699 (#a66699) is rgb(166, 102, 153) in RGB.
No, #a66699 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 #a66699, or check how it holds up for accessibility.