Color #afa5b2
A nearly neutral, gray-leaning light purple.
Conversions
#afa5b2
rgb(175, 165, 178)
hsl(286.2, 7.8%, 67.3%)
hsv(286.2, 7.3%, 69.8%)
cmyk(1.7%, 7.3%, 0%, 30.2%)
lab(68.92, 6.03, -5.39)
lch(68.92, 8.09, 318.21)
oklch(73.4%, 0.0215, 318.39)
hwb(286.2, 64.7%, 30.2%)
Harmony colors
Accessibility
Black text reads better on this background (8.85:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#ababaf · ΔE 6.8
Deuteranopia
#abacae · ΔE 8.1
Tritanopia
#afadac · ΔE 8.5
Achromatopsia
#a8a8a8 · ΔE 8.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afa5b2;
bg-[#afa5b2]
Related colors
Frequently asked questions
#afa5b2 (#afa5b2) is rgb(175, 165, 178) in RGB.
No, #afa5b2 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 #afa5b2, or check how it holds up for accessibility.