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

#8e40fa is a high-octane, saturated violet that demands attention. Because it is so loud and aggressive, it functions best as a 10% accent color rather than a primary background shade. It pairs surprisingly well with muted teals or slate grays, which ground its electric intensity. With a 4.9:1 contrast ratio against white text, this hex code remains legible for interface buttons and calls to action.
Questions about #8e40fa
What is #8e40fa in RGB, HSL and CMYK?
In RGB, #8e40fa is rgb(142, 64, 250), in HSL hsl(265, 95%, 62%) and in CMYK 43%, 74%, 0%, 2%.
What is the best way to incorporate #8e40fa into a website design?
Because #8e40fa is so loud, treat it as a deliberate 10% accent rather than a primary background color. It shines on UI components like active buttons or navigation highlights when balanced against neutral backgrounds like slate.
Is #8e40fa readable on white or black?
#8e40fa has a 4.92:1 contrast ratio on white and 4.26: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.