#B97EFF Hex Color

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

Hex color #b97eff graphic
This bright, neon-leaning violet packs high saturation and intensity. It feels aggressive as a full background, so save it for small, high-impact UI accents like buttons or call-to-action highlights. Because black text maintains excellent readability at 7.5:1 contrast, you can use this shade confidently for readable interface elements. The hex code for this electric purple is #b97eff.

Questions about #b97eff

What is #b97eff in RGB, HSL and CMYK?
In RGB, #b97eff is rgb(185, 126, 255), in HSL hsl(267, 100%, 75%) and in CMYK 27%, 51%, 0%, 0%.
How should I use #b97eff in a UI design?
This color is quite aggressive for large backgrounds, so save #b97eff for high-impact accents like call-to-action buttons or status indicators. Because it maintains strong contrast against black text, it works well for small, readable interface elements that need to pop.
Does #b97eff pair well with dark mode interfaces?
It pairs exceptionally well with dark mode designs, specifically against deep charcoal or near-black backgrounds. Its high luminance ensures the color remains vibrant and legible without vibrating against darker interface surfaces, creating a modern, tech-focused aesthetic.
Is #b97eff readable on white or black?
#b97eff has a 2.80:1 contrast ratio on white and 7.49: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.