#9795D8 Hex Color

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

Hex color #9795d8 graphic
This cool, unsaturated lavender sits comfortably between blue and purple. Because it is muted rather than vivid, #9795d8 works best as a supporting tone or secondary accent rather than a dominant background. Pair it with dark charcoal or deep navy for a sophisticated look. The hex code for this shade is #9795d8, which offers enough contrast for legible black text in web interfaces.

Questions about #9795d8

What is #9795d8 in RGB, HSL and CMYK?
In RGB, #9795d8 is rgb(151, 149, 216), in HSL hsl(242, 46%, 72%) and in CMYK 30%, 31%, 0%, 15%.
What colors pair best with #9795d8 for a balanced palette?
Pair #9795d8 with deep charcoal or navy to anchor its soft presence and create a sophisticated, high-contrast look. It also plays well with warm neutrals, which help neutralize its cool, unsaturated undertones for a more inviting feel.
Is #9795d8 suitable for use as a primary interface color?
As a muted lavender, #9795d8 is better suited for secondary elements like buttons, borders, or highlights rather than large, dominant background areas. Using it for smaller UI components ensures the interface stays legible while still benefiting from its calm, modern aesthetic.
Is #9795d8 readable on white or black?
#9795d8 has a 2.76:1 contrast ratio on white and 7.60:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.