Color #af81bc
A muted light purple.
Conversions
#af81bc
rgb(175, 129, 188)
hsl(286.8, 30.6%, 62.2%)
hsv(286.8, 31.4%, 73.7%)
cmyk(6.9%, 31.4%, 0%, 26.3%)
lab(60.29, 28.2, -24.03)
lch(60.29, 37.05, 319.56)
oklch(66.9%, 0.0992, 318.68)
hwb(286.8, 50.6%, 26.3%)
Harmony colors
Accessibility
Black text reads better on this background (6.69:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9d9db0 · ΔE 16
Deuteranopia
#a0a3ad · ΔE 19.5
Tritanopia
#ada6a3 · ΔE 23.3
Achromatopsia
#919191 · ΔE 22.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af81bc;
bg-[#af81bc]
Related colors
Frequently asked questions
#af81bc (#af81bc) is rgb(175, 129, 188) in RGB.
No, #af81bc 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 #af81bc, or check how it holds up for accessibility.