Color #af8ecf
A moderately saturated light purple.
Conversions
#af8ecf
rgb(175, 142, 207)
hsl(270.5, 40.4%, 68.4%)
hsv(270.5, 31.4%, 81.2%)
cmyk(15.5%, 31.4%, 0%, 18.8%)
lab(64.13, 24.91, -28.8)
lch(64.13, 38.08, 310.86)
oklch(70.1%, 0.0994, 307.19)
hwb(270.5, 55.7%, 18.8%)
Harmony colors
Accessibility
Black text reads better on this background (7.59:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a2a1c2 · ΔE 10.4
Deuteranopia
#a4a6be · ΔE 13.3
Tritanopia
#aeb7b4 · ΔE 24.4
Achromatopsia
#9b9b9b · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af8ecf;
bg-[#af8ecf]
Related colors
Frequently asked questions
#af8ecf (#af8ecf) is rgb(175, 142, 207) in RGB.
No, #af8ecf 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 #af8ecf, or check how it holds up for accessibility.