#7F42B2 Hex Color

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

Hex color #7f42b2 graphic
Far from a dusty lavender, this purple is saturated and bold with a cool violet lean. The hex code #7f42b2 carries enough contrast for white body text, so it earns its keep in buttons, calls to action, and accents. Pair it with warm gold or chartreuse to keep it from reading flat.

Questions about #7f42b2

What is #7f42b2 in RGB, HSL and CMYK?
In RGB, #7f42b2 is rgb(127, 66, 178), in HSL hsl(273, 46%, 48%) and in CMYK 29%, 63%, 0%, 30%.
What colors pair well with #7f42b2?
Warm gold, chartreuse, and amber all make #7f42b2 glow without clashing. For softer palettes, try dusty mauve or muted sage so the purple stays the loudest voice in the scheme.
Is #7f42b2 readable on white or black?
#7f42b2 has a 6.31:1 contrast ratio on white and 3.32: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.