Color #afa5c7
A muted light blue.
Conversions
#afa5c7
rgb(175, 165, 199)
hsl(257.6, 23.3%, 71.4%)
hsv(257.6, 17.1%, 78%)
cmyk(12.1%, 17.1%, 0%, 22%)
lab(69.57, 10.29, -16.05)
lch(69.57, 19.07, 302.66)
oklch(74.2%, 0.0495, 298.58)
hwb(257.6, 64.7%, 22%)
Harmony colors
Accessibility
Black text reads better on this background (9.03:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#ababbf · ΔE 6.5
Deuteranopia
#abacbe · ΔE 7.5
Tritanopia
#afb9b8 · ΔE 18.3
Achromatopsia
#aaaaaa · ΔE 14.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afa5c7;
bg-[#afa5c7]
Related colors
Frequently asked questions
#afa5c7 (#afa5c7) is rgb(175, 165, 199) in RGB.
No, #afa5c7 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 #afa5c7, or check how it holds up for accessibility.