Color #af87c2
A muted light purple.
Conversions
#af87c2
rgb(175, 135, 194)
hsl(280.7, 32.6%, 64.5%)
hsv(280.7, 30.4%, 76.1%)
cmyk(9.8%, 30.4%, 0%, 23.9%)
lab(61.94, 26.06, -24.88)
lch(61.94, 36.03, 316.33)
oklch(68.2%, 0.0955, 314.58)
hwb(280.7, 52.9%, 23.9%)
Harmony colors
Accessibility
Black text reads better on this background (7.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#9f9fb6 · ΔE 14
Deuteranopia
#a1a4b3 · ΔE 17.1
Tritanopia
#adaca9 · ΔE 24.9
Achromatopsia
#969696 · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af87c2;
bg-[#af87c2]
Related colors
Frequently asked questions
#af87c2 (#af87c2) is rgb(175, 135, 194) in RGB.
No, #af87c2 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 #af87c2, or check how it holds up for accessibility.