#8A42B7 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This saturated violet demands immediate attention with its bold, energetic character. Because #8a42b7 commands so much visual weight, it functions best as a high-impact accent color rather than a large-scale background. White text remains perfectly legible against this shade, offering a 5.9:1 contrast ratio for your UI components. The hex code for this vibrant, intense purple is #8a42b7.
Questions about #8a42b7
What is #8a42b7 in RGB, HSL and CMYK?
In RGB, #8a42b7 is rgb(138, 66, 183), in HSL hsl(277, 47%, 49%) and in CMYK 25%, 64%, 0%, 28%.
How should I use #8a42b7 in a user interface?
#8a42b7 is best reserved for high-impact UI elements like call-to-action buttons or notification badges. Because it commands significant visual attention, avoid using it as a primary background color, as it can overwhelm the content on the page.
What colors pair well with #8a42b7?
This vibrant violet pairs beautifully with neutral tones like soft gray or pure white to balance its intensity. For a bolder palette, consider using complementary yellow or green accents to create a striking, modern contrast that feels balanced.
Is #8a42b7 readable on white or black?
#8a42b7 has a 5.92:1 contrast ratio on white and 3.54: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.