#8042B7 Hex Color

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

Hex color #8042b7 graphic
#8042b7 is a saturated, medium-dark purple with a cool violet cast and strong visual energy. Its rich chroma suits calls to action, gaming interfaces, luxury accents, and expressive branding, but it can overwhelm as a full-page background. Pair it with warm cream or muted gold, and use white text for readable body copy. The hex code for this purple is #8042b7.

Questions about #8042b7

What is #8042b7 in RGB, HSL and CMYK?
In RGB, #8042b7 is rgb(128, 66, 183), in HSL hsl(272, 47%, 49%) and in CMYK 30%, 64%, 0%, 28%.
Does #8042b7 read as a warm or cool purple?
#8042b7 reads as a cool purple because its violet cast leans toward blue rather than red, while its saturated, medium-dark value creates a lively, expressive presence that suits digital interfaces, gaming visuals, and bold brand accents.
What colors pair well with #8042b7?
#8042b7 pairs well with warm cream, soft white, and muted gold because those lighter, warmer tones balance its cool violet cast without competing with its saturation or strong visual energy. Use pale neutrals for spacious layouts and gold sparingly for a richer accent.
Is #8042b7 readable on white or black?
#8042b7 has a 6.21:1 contrast ratio on white and 3.38: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.