#AB2CD6 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #ab2cd6 graphic
A bright, saturated purple with a cool, electric edge. #ab2cd6 grabs attention fast, so it works best as an accent, highlight, or call to action rather than a full background. It flatters deep charcoal and dark teal more than pale pastels, which wash it out. White text on it reaches about 5.2:1 contrast, enough for AA body text. Curious how shades like this get made, see what colors make purple.

Questions about #ab2cd6

What is #ab2cd6 in RGB, HSL and CMYK?
In RGB, #ab2cd6 is rgb(171, 44, 214), in HSL hsl(285, 67%, 51%) and in CMYK 20%, 79%, 0%, 16%.
What colors pair well with #ab2cd6?
Deep, dark neutrals like charcoal and dark teal let #ab2cd6 stay bold without competing. Pale pastels and light grays tend to wash it out, so keep surrounding colors dark or heavily desaturated.
Is #ab2cd6 readable on white or black?
#ab2cd6 has a 5.16:1 contrast ratio on white and 4.06:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it works only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.