Color #afa2dc
A moderately saturated light blue.
Conversions
#afa2dc
rgb(175, 162, 220)
hsl(253.4, 45.3%, 74.9%)
hsv(253.4, 26.4%, 86.3%)
cmyk(20.5%, 26.4%, 0%, 13.7%)
lab(69.56, 16.59, -27.65)
lch(69.56, 32.25, 300.96)
oklch(74.4%, 0.0835, 294.54)
hwb(253.4, 63.5%, 13.7%)
Harmony colors
Accessibility
Black text reads better on this background (9.02:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#aaa9d0 · ΔE 5.2
Deuteranopia
#aaabcd · ΔE 6.7
Tritanopia
#aec6c3 · ΔE 24.7
Achromatopsia
#aaaaaa · ΔE 19.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afa2dc;
bg-[#afa2dc]
Related colors
Frequently asked questions
#afa2dc (#afa2dc) is rgb(175, 162, 220) in RGB.
No, #afa2dc 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 #afa2dc, or check how it holds up for accessibility.