Color #ab57c3
A moderately saturated medium purple.
Conversions
#ab57c3
rgb(171, 87, 195)
hsl(286.7, 47.4%, 55.3%)
hsv(286.7, 55.4%, 76.5%)
cmyk(12.3%, 55.4%, 0%, 23.5%)
lab(51.17, 51.1, -42.29)
lch(51.17, 66.33, 320.39)
oklch(60.1%, 0.1769, 318.28)
hwb(286.7, 34.1%, 23.5%)
Harmony colors
Accessibility
Black 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
#8e8eb0 · ΔE 20.1
Deuteranopia
#9398ac · ΔE 23.2
Tritanopia
#a8a09c · ΔE 31.4
Achromatopsia
#7a7a7a · ΔE 26.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab57c3;
bg-[#ab57c3]
Related colors
Frequently asked questions
#ab57c3 (#ab57c3) is rgb(171, 87, 195) in RGB.
No, #ab57c3 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 #ab57c3, or check how it holds up for accessibility.