Color #a666bb
A muted medium purple.
Conversions
#a666bb
rgb(166, 102, 187)
hsl(285.2, 38.5%, 56.7%)
hsv(285.2, 45.5%, 73.3%)
cmyk(11.2%, 45.5%, 0%, 26.7%)
lab(53.17, 40.19, -34.58)
lch(53.17, 53.02, 319.29)
oklch(61.3%, 0.1413, 317.41)
hwb(285.2, 40%, 26.7%)
Harmony colors
Accessibility
Black text reads better on this background (5.24:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8eab · ΔE 17.2
Deuteranopia
#9296a7 · ΔE 20.4
Tritanopia
#a49d9a · ΔE 27.7
Achromatopsia
#7f7f7f · ΔE 24.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a666bb;
bg-[#a666bb]
Related colors
Frequently asked questions
#a666bb (#a666bb) is rgb(166, 102, 187) in RGB.
No, #a666bb 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 #a666bb, or check how it holds up for accessibility.