Color #ac7ec2
A muted light purple.
Conversions
#ac7ec2
rgb(172, 126, 194)
hsl(280.6, 35.8%, 62.7%)
hsv(280.6, 35.1%, 76.1%)
cmyk(11.3%, 35.1%, 0%, 23.9%)
lab(59.51, 30.17, -28.65)
lch(59.51, 41.61, 316.48)
oklch(66.3%, 0.1102, 314.41)
hwb(280.6, 49.4%, 23.9%)
Harmony colors
Accessibility
Black text reads better on this background (6.52:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9a9ab5 · ΔE 14.3
Deuteranopia
#9da0b1 · ΔE 17.5
Tritanopia
#aaa9a6 · ΔE 26.4
Achromatopsia
#8f8f8f · ΔE 23
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ac7ec2;
bg-[#ac7ec2]
Related colors
Frequently asked questions
#ac7ec2 (#ac7ec2) is rgb(172, 126, 194) in RGB.
No, #ac7ec2 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 #ac7ec2, or check how it holds up for accessibility.