Color #a27ba6
A muted medium magenta.
Conversions
#a27ba6
rgb(162, 123, 166)
hsl(294.4, 19.5%, 56.7%)
hsv(294.4, 25.9%, 65.1%)
cmyk(2.4%, 25.9%, 0%, 34.9%)
lab(56.68, 22.79, -17.08)
lch(56.68, 28.48, 323.15)
oklch(63.6%, 0.0773, 323.31)
hwb(294.4, 48.2%, 34.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.92:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#93929d · ΔE 16.3
Deuteranopia
#95989b · ΔE 19.6
Tritanopia
#a09594 · ΔE 18.4
Achromatopsia
#888888 · ΔE 20.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a27ba6;
bg-[#a27ba6]
Related colors
Frequently asked questions
#a27ba6 (#a27ba6) is rgb(162, 123, 166) in RGB.
No, #a27ba6 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 #a27ba6, or check how it holds up for accessibility.