Color #afa1b3
A nearly neutral, gray-leaning light purple.
Conversions
#afa1b3
rgb(175, 161, 179)
hsl(286.7, 10.6%, 66.7%)
hsv(286.7, 10.1%, 70.2%)
cmyk(2.2%, 10.1%, 0%, 29.8%)
lab(67.92, 8.43, -7.44)
lch(67.92, 11.24, 318.57)
oklch(72.7%, 0.03, 318.78)
hwb(286.7, 63.1%, 29.8%)
Harmony colors
Accessibility
Black text reads better on this background (8.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a9a9af · ΔE 8.6
Deuteranopia
#aaabae · ΔE 10.3
Tritanopia
#aeacab · ΔE 11.1
Achromatopsia
#a5a5a5 · ΔE 11
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afa1b3;
bg-[#afa1b3]
Related colors
Frequently asked questions
#afa1b3 (#afa1b3) is rgb(175, 161, 179) in RGB.
No, #afa1b3 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 #afa1b3, or check how it holds up for accessibility.