Color #ab27c4
A moderately saturated medium magenta.
Conversions
#ab27c4
rgb(171, 39, 196)
hsl(290.4, 66.8%, 46.1%)
hsv(290.4, 80.1%, 76.9%)
cmyk(12.8%, 80.1%, 0%, 23.1%)
lab(44.37, 70.41, -53.72)
lch(44.37, 88.56, 322.66)
oklch(55.2%, 0.2369, 320.46)
hwb(290.4, 15.3%, 23.1%)
Harmony colors
Accessibility
White text reads better on this background (5.5:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8685ae · ΔE 24.9
Deuteranopia
#8c93a8 · ΔE 29.1
Tritanopia
#a79a95 · ΔE 36.7
Achromatopsia
#696969 · ΔE 29.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab27c4;
bg-[#ab27c4]
Related colors
Frequently asked questions
#ab27c4 (#ab27c4) is rgb(171, 39, 196) in RGB.
No, #ab27c4 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 #ab27c4, or check how it holds up for accessibility.