#BA4AF8 Hex Color

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

Hex color #ba4af8 graphic
Highly saturated and beaming, #ba4af8 commands immediate attention. This electric violet works best as a punchy accent or a bold call to action rather than a background, as its intensity can overpower softer elements. Pair it with dark, muted greys to ground the energy. Because black text maintains a high contrast ratio against this hex code, it remains readable even in smaller sizes.

Questions about #ba4af8

What is #ba4af8 in RGB, HSL and CMYK?
In RGB, #ba4af8 is rgb(186, 74, 248), in HSL hsl(279, 93%, 63%) and in CMYK 25%, 70%, 0%, 3%. Browse more shades of purple with names and hex codes.
Where should I use #ba4af8 in a UI design?
#ba4af8 functions best as a high-impact accent color for primary buttons, notification badges, or interactive elements that need to pop against dark backgrounds. Because of its extreme intensity, avoid using it as a large-scale background or primary branding color.
What colors pair well with #ba4af8?
This electric violet creates the most balanced visual weight when grounded by deep, muted neutrals like charcoal or dark slate. For a high-contrast scheme, pairing it with near-black shades ensures the brightness of #ba4af8 remains effective without causing eye strain.
Is #ba4af8 readable on white or black?
#ba4af8 has a 3.87:1 contrast ratio on white and 5.42: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.