#AF29B8 Hex Color

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

Hex color #af29b8 graphic
#af29b8 is a saturated, high-intensity violet that demands attention. Because of its extreme vividness, this color works best as an accent or a call to action rather than a background. Pair it with soft, muted grays to balance its loud energy. The hex code #af29b8 offers excellent readability for white text, making it a functional choice for bold UI elements or branding.

Questions about #af29b8

What is #af29b8 in RGB, HSL and CMYK?
In RGB, #af29b8 is rgb(175, 41, 184), in HSL hsl(296, 64%, 44%) and in CMYK 5%, 78%, 0%, 28%. Browse more shades of purple with names and hex codes.
What is the best way to use #af29b8 in a UI design?
#af29b8 is a highly saturated shade that works best as a punchy accent color, such as for primary call-to-action buttons or navigation highlights. Avoid using it for large backgrounds, as its intensity can quickly become overwhelming for users. Instead, pair it with neutral, soft grays like charcoal to create a balanced, professional look.
Is #af29b8 readable on white or black?
#af29b8 has a 5.48:1 contrast ratio on white and 3.83: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.