#9C5AFB Hex Color

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

Hex color #9c5afb graphic
#9c5afb is a loud, saturated violet that reads electric even in small doses. Its high saturation and mid lightness make it a strong accent rather than a full background; buttons, highlights, and CTAs are where it earns attention. Black text on it reaches about 5.3:1 contrast, enough for AA body copy. Tone the intensity down by mixing gray into the palette.

Questions about #9c5afb

What is #9c5afb in RGB, HSL and CMYK?
In RGB, #9c5afb is rgb(156, 90, 251), in HSL hsl(265, 95%, 67%) and in CMYK 38%, 64%, 0%, 2%.
Is black or white text better on #9c5afb?
Black text is the clear winner. It reaches about 5.3:1 contrast, which meets WCAG AA for body text, while white only hits around 4:1 and fails for small copy.
What colors pair well with #9c5afb?
Ground this violet with near-black tones like charcoal for dark interfaces, or add a warm amber accent to balance its cool blue undertones. Avoid pairing it with soft pastels, which make it look harsh.
Is #9c5afb readable on white or black?
#9c5afb has a 3.98:1 contrast ratio on white and 5.26: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.