#7F51D7 Hex Color

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

Hex color #7f51d7 graphic
Strong and saturated, #7f51d7 is a cool violet-purple with a bright, slightly blue undertone. Its medium-dark lightness brings energy and focus to calls to action, gaming interfaces, and creative branding. Use it as a 10% accent beside charcoal or warm cream; white text reaches about 5.2:1 contrast, suitable for small body text. The hex code is #7f51d7.

Questions about #7f51d7

What is #7f51d7 in RGB, HSL and CMYK?
In RGB, #7f51d7 is rgb(127, 81, 215), in HSL hsl(261, 63%, 58%) and in CMYK 41%, 62%, 0%, 16%.
What colors pair well with #7f51d7?
#7f51d7 pairs well with charcoal, warm cream, and olive because those grounded tones temper its high saturation without competing for attention. Use the purple as an accent and let the neutral occupy most of the layout.
Is #7f51d7 readable on white or black?
#7f51d7 has a 5.17:1 contrast ratio on white and 4.06: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.