Color #a54ab6
A moderately saturated medium magenta.
Conversions
#a54ab6
rgb(165, 74, 182)
hsl(290.6, 42.5%, 50.2%)
hsv(290.6, 59.3%, 71.4%)
cmyk(9.3%, 59.3%, 0%, 28.6%)
lab(47.33, 53.27, -40.87)
lch(47.33, 67.14, 322.5)
oklch(56.9%, 0.181, 321.08)
hwb(290.6, 29%, 28.6%)
Harmony colors
Accessibility
White text reads better on this background (4.94:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8786a4 · ΔE 21.5
Deuteranopia
#8c919f · ΔE 24.9
Tritanopia
#a29490 · ΔE 31.1
Achromatopsia
#707070 · ΔE 26.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a54ab6;
bg-[#a54ab6]
Related colors
Frequently asked questions
#a54ab6 (#a54ab6) is rgb(165, 74, 182) in RGB.
No, #a54ab6 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 #a54ab6, or check how it holds up for accessibility.