Color #ab5fc2
A moderately saturated medium purple.
Conversions
#ab5fc2
rgb(171, 95, 194)
hsl(286.1, 44.8%, 56.7%)
hsv(286.1, 51%, 76.1%)
cmyk(11.9%, 51%, 0%, 23.9%)
lab(52.66, 46.82, -39.36)
lch(52.66, 61.17, 319.95)
oklch(61.1%, 0.1631, 317.91)
hwb(286.1, 37.3%, 23.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.15:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9090b0 · ΔE 19
Deuteranopia
#9499ac · ΔE 21.9
Tritanopia
#a8a19d · ΔE 30.3
Achromatopsia
#7e7e7e · ΔE 26.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab5fc2;
bg-[#ab5fc2]
Related colors
Frequently asked questions
#ab5fc2 (#ab5fc2) is rgb(171, 95, 194) in RGB.
No, #ab5fc2 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 #ab5fc2, or check how it holds up for accessibility.