Color #a666ba
A muted medium purple.
Conversions
#a666ba
rgb(166, 102, 186)
hsl(285.7, 37.8%, 56.5%)
hsv(285.7, 45.2%, 72.9%)
cmyk(10.8%, 45.2%, 0%, 27.1%)
lab(53.12, 39.98, -34.08)
lch(53.12, 52.53, 319.55)
oklch(61.2%, 0.1402, 317.78)
hwb(285.7, 40%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.23:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8eaa · ΔE 17.3
Deuteranopia
#9296a6 · ΔE 20.5
Tritanopia
#a49d9a · ΔE 27.6
Achromatopsia
#7f7f7f · ΔE 24.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a666ba;
bg-[#a666ba]
Related colors
Frequently asked questions
#a666ba (#a666ba) is rgb(166, 102, 186) in RGB.
No, #a666ba 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 #a666ba, or check how it holds up for accessibility.