Color #af97ba
A muted light purple.
Conversions
#af97ba
rgb(175, 151, 186)
hsl(281.1, 20.2%, 66.1%)
hsv(281.1, 18.8%, 72.9%)
cmyk(5.9%, 18.8%, 0%, 27.1%)
lab(65.59, 15.4, -14.84)
lch(65.59, 21.39, 316.06)
oklch(70.9%, 0.0568, 315.21)
hwb(281.1, 59.2%, 27.1%)
Harmony colors
Accessibility
Black text reads better on this background (7.96:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a5a5b2 · ΔE 12.1
Deuteranopia
#a7a8b0 · ΔE 14.3
Tritanopia
#aeacab · ΔE 17.3
Achromatopsia
#9f9f9f · ΔE 16.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af97ba;
bg-[#af97ba]
Related colors
Frequently asked questions
#af97ba (#af97ba) is rgb(175, 151, 186) in RGB.
No, #af97ba 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 #af97ba, or check how it holds up for accessibility.