Color #afa4c2
A muted light purple.
Conversions
#afa4c2
rgb(175, 164, 194)
hsl(262, 19.7%, 70.2%)
hsv(262, 15.5%, 76.1%)
cmyk(9.8%, 15.5%, 0%, 23.9%)
lab(69.15, 9.79, -13.92)
lch(69.15, 17.02, 305.12)
oklch(73.8%, 0.0443, 302.01)
hwb(262, 64.3%, 23.9%)
Harmony colors
Accessibility
Black text reads better on this background (8.91:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#aaaabb · ΔE 6.8
Deuteranopia
#abacba · ΔE 8.3
Tritanopia
#aeb6b5 · ΔE 17.1
Achromatopsia
#a9a9a9 · ΔE 13.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #afa4c2;
bg-[#afa4c2]
Related colors
Frequently asked questions
#afa4c2 (#afa4c2) is rgb(175, 164, 194) in RGB.
No, #afa4c2 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 #afa4c2, or check how it holds up for accessibility.