Color #a151ae
A muted medium magenta.
Conversions
#a151ae
rgb(161, 81, 174)
hsl(291.6, 36.5%, 50%)
hsv(291.6, 53.4%, 68.2%)
cmyk(7.5%, 53.4%, 0%, 31.8%)
lab(47.65, 47.2, -35.73)
lch(47.65, 59.2, 322.87)
oklch(56.8%, 0.1602, 321.87)
hwb(291.6, 31.8%, 31.8%)
Harmony colors
Accessibility
White text reads better on this background (4.88:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#86859e · ΔE 20.6
Deuteranopia
#8a8f9a · ΔE 23.5
Tritanopia
#9e8f8c · ΔE 28.4
Achromatopsia
#717171 · ΔE 25.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a151ae;
bg-[#a151ae]
Related colors
Frequently asked questions
#a151ae (#a151ae) is rgb(161, 81, 174) in RGB.
No, #a151ae 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 #a151ae, or check how it holds up for accessibility.