#9B40FB Hex Color

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

Hex color #9b40fb graphic
Highly saturated and intense, this electric violet demands immediate attention. Use #9b40fb sparingly as a small accent or call-to-action button, as its extreme brightness overwhelms large backgrounds. It pairs surprisingly well with muted teals or deep charcoal grays to ground its energy. White text is legible against this hex code, making it a functional choice for high-impact UI elements and bold branding.

Questions about #9b40fb

What is #9b40fb in RGB, HSL and CMYK?
In RGB, #9b40fb is rgb(155, 64, 251), in HSL hsl(269, 96%, 62%) and in CMYK 38%, 75%, 0%, 2%. Browse more shades of purple with names and hex codes.
What colors pair best with #9b40fb?
This electric violet creates a balanced, professional look when paired with neutral charcoal or desaturated teals. These grounded, darker colors help temper the intense, high-energy saturation of #9b40fb, preventing it from overwhelming your design while keeping the focus on your call-to-action buttons.
Is #9b40fb suitable for large backgrounds?
Avoid using #9b40fb for large backgrounds because its high saturation and intensity quickly tire the eyes and make content difficult to read. It functions most effectively as a small, deliberate splash of color that draws immediate attention to specific UI elements like buttons or icons.
Is #9b40fb readable on white or black?
#9b40fb has a 4.64:1 contrast ratio on white and 4.52: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 for body text. Try other pairs in the contrast checker.