#7A21F8 Hex Color

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

Hex color #7a21f8 graphic
Brighter than grape soda and louder than royal purple, the hex code #7a21f8 sits at the electric end of the violet range. It earns its keep as a 10% accent on dark mode UI, where white text clears AA contrast at roughly 6.2:1. Full-screen backgrounds can overwhelm, so temper it with charcoal or deep navy.

Questions about #7a21f8

What is #7a21f8 in RGB, HSL and CMYK?
In RGB, #7a21f8 is rgb(122, 33, 248), in HSL hsl(265, 94%, 55%) and in CMYK 51%, 87%, 0%, 3%.
What colors pair well with #7a21f8?
Deep navy and charcoal keep #7a21f8 grounded, while a chartreuse or lime accent sharpens it through contrast. Use it sparingly either way, since its saturation dominates most palettes.
Is #7a21f8 readable on white or black?
#7a21f8 has a 6.17:1 contrast ratio on white and 3.40: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.