Color #af9ec9
A muted light purple.
Conversions
#af9ec9
rgb(175, 158, 201)
hsl(263.7, 28.5%, 70.4%)
hsv(263.7, 21.4%, 78.8%)
cmyk(12.9%, 21.4%, 0%, 21.2%)
lab(67.86, 14.61, -19.75)
lch(67.86, 24.57, 306.49)
oklch(72.9%, 0.0639, 302.87)
hwb(263.7, 62%, 21.2%)
Harmony colors
Accessibility
Black text reads better on this background (8.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a8a8c0 · ΔE 8.3
Deuteranopia
#a9aabd · ΔE 10.2
Tritanopia
#aeb8b6 · ΔE 21.1
Achromatopsia
#a5a5a5 · ΔE 17.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af9ec9;
bg-[#af9ec9]
Related colors
Frequently asked questions
#af9ec9 (#af9ec9) is rgb(175, 158, 201) in RGB.
No, #af9ec9 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 #af9ec9, or check how it holds up for accessibility.