#BA52A8 Hex Color

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

Hex color #ba52a8 graphic
Reach for #ba52a8 when a call to action or accent needs real punch. This saturated magenta sits mid-dark, with a sweet purple undertone that suits cosmetics, nightlife, and pop branding. Its hex code holds about 4.9:1 contrast behind black text, enough for WCAG AA body copy. Keep it to accent duty; at full-page scale the intensity wears on the eye.

Questions about #ba52a8

What is #ba52a8 in RGB, HSL and CMYK?
In RGB, #ba52a8 is rgb(186, 82, 168), in HSL hsl(310, 43%, 53%) and in CMYK 0%, 56%, 10%, 27%.
What text color works best on #ba52a8?
Black text is the safe choice on #ba52a8, with a contrast ratio of about 4.9:1, which clears WCAG AA for small body text. White text lands closer to 4.3:1, so save it for large headings.
What colors pair well with #ba52a8?
Teal and navy both temper the sweetness of #ba52a8, while warm gold pushes it toward confectionery and floral looks. Keep it near ten percent of a palette so its boldness stays an asset.
Is #ba52a8 readable on white or black?
#ba52a8 has a 4.32:1 contrast ratio on white and 4.86:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works only for large text (24px, or 18.5px bold) and on black it works for body text. Try other pairs in the contrast checker.