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

This saturated purple commands immediate attention with its intense, electric personality. As a bold accent color, the hex code #7e31b8 works best to draw the eye toward call-to-action buttons or high-energy graphic elements. Avoid using it as a large-scale background, as its high chroma can quickly overwhelm the viewer. Pair it with crisp white text to maintain high contrast and legibility.
Questions about #7e31b8
What is #7e31b8 in RGB, HSL and CMYK?
In RGB, #7e31b8 is rgb(126, 49, 184), in HSL hsl(274, 58%, 46%) and in CMYK 32%, 73%, 0%, 28%. Browse more shades of purple with names and hex codes.
How can I effectively use #7e31b8 in a UI design?
Since #7e31b8 is highly saturated, restrict its use to small, high-impact UI elements like primary call-to-action buttons, notification badges, or icon accents. Pairing it with clean white text ensures legibility while maintaining that electric, modern aesthetic.
Which colors create a balanced palette with #7e31b8?
To ground the intensity of #7e31b8, pair it with neutral bases like charcoal or cool light gray. For a vibrant complementary scheme, a soft lime green or pale yellow can create a striking, energetic contrast.
Is #7e31b8 readable on white or black?
#7e31b8 has a 6.95:1 contrast ratio on white and 3.01: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 only for large text (24px, or 18.5px bold). Try other pairs in the contrast checker.