#797FE5 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This bright, electric violet sits on the cooler side of the spectrum with intense saturation. Because #797fe5 carries significant visual weight, it works best as a bold accent or a call to action rather than a primary background. It pairs exceptionally well with charcoal grays for a modern, high-contrast interface. Black text remains legible against this hex code, ensuring your designs stay accessible.
Questions about #797fe5
What is #797fe5 in RGB, HSL and CMYK?
In RGB, #797fe5 is rgb(121, 127, 229), in HSL hsl(237, 68%, 69%) and in CMYK 47%, 45%, 0%, 10%. Browse more shades of purple with names and hex codes.
What colors pair well with #797fe5 for UI design?
#797fe5 works exceptionally well when paired with charcoal or deep neutral grays, which ground the intensity of the violet. For high-contrast interfaces, using it alongside clean white text or soft cream tones ensures the color remains readable and balanced.
Is #797fe5 readable on white or black?
#797fe5 has a 3.51:1 contrast ratio on white and 5.98:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works only for large text (24px, or 18.5px bold) and on black it works for body text. Try other pairs in the contrast checker.