Color #ab97b2
A nearly neutral, gray-leaning light purple.
Conversions
#ab97b2
rgb(171, 151, 178)
hsl(284.4, 14.9%, 64.5%)
hsv(284.4, 15.2%, 69.8%)
cmyk(3.9%, 15.2%, 0%, 30.2%)
lab(64.97, 12.42, -11.32)
lch(64.97, 16.8, 317.65)
oklch(70.3%, 0.0448, 317.26)
hwb(284.4, 59.2%, 30.2%)
Harmony colors
Accessibility
Black text reads better on this background (7.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a3a3ac · ΔE 11.2
Deuteranopia
#a4a5aa · ΔE 13.1
Tritanopia
#aaa7a6 · ΔE 14.5
Achromatopsia
#9e9e9e · ΔE 14.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ab97b2;
bg-[#ab97b2]
Related colors
Frequently asked questions
#ab97b2 (#ab97b2) is rgb(171, 151, 178) in RGB.
No, #ab97b2 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 #ab97b2, or check how it holds up for accessibility.