#BA9AFE Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

A light, vivid lavender with cool blue undertones, #ba9afe works best as an accent rather than a full background, where it can wash out. It glows against dark plum or charcoal in dark mode UI. The hex code sits near other shades of pink, and black text on it reaches about 9.1:1 contrast, safe for small body text.
Questions about #ba9afe
What is #ba9afe in RGB, HSL and CMYK?
In RGB, #ba9afe is rgb(186, 154, 254), in HSL hsl(259, 98%, 80%) and in CMYK 27%, 39%, 0%, 0%. Browse more shades of purple with names and hex codes.
What colors pair well with #ba9afe?
Deep plum, charcoal, and dark navy all make this light purple glow by contrast. For a bolder look, pair it with a sharp chartreuse or a rich berry tone.
Can #ba9afe be used as a text background?
Yes for dark text. Black text on #ba9afe reaches about 9.1:1 contrast, well above the 4.5:1 needed for WCAG AA body text. White text falls short.
Is #ba9afe readable on white or black?
#ba9afe has a 2.29:1 contrast ratio on white and 9.14:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.