Color #af9eca
A muted light purple.
Conversions
#af9eca
rgb(175, 158, 202)
hsl(263.2, 29.3%, 70.6%)
hsv(263.2, 21.8%, 79.2%)
cmyk(13.4%, 21.8%, 0%, 20.8%)
lab(67.9, 14.83, -20.25)
lch(67.9, 25.1, 306.22)
oklch(72.9%, 0.0653, 302.42)
hwb(263.2, 62%, 20.8%)
Harmony colors
Accessibility
Black text reads better on this background (8.57:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#a8a8c1 · ΔE 8.2
Deuteranopia
#a9aabe · ΔE 10
Tritanopia
#aeb9b7 · ΔE 21.5
Achromatopsia
#a5a5a5 · ΔE 17.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af9eca;
bg-[#af9eca]
Related colors
Frequently asked questions
#af9eca (#af9eca) is rgb(175, 158, 202) in RGB.
No, #af9eca 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 #af9eca, or check how it holds up for accessibility.