#9F87CC Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

Muted and cool, this mid-tone violet carries a desaturated, dusty quality that feels refined rather than aggressive. It pairs well with charcoal grays or warm creams, avoiding the clash often seen with pure primary colors. The hex code for this shade is #9f87cc. Because it offers strong contrast against black text, it works effectively as a background color for readable, modern user interfaces.
Questions about #9f87cc
What is #9f87cc in RGB, HSL and CMYK?
In RGB, #9f87cc is rgb(159, 135, 204), in HSL hsl(261, 40%, 66%) and in CMYK 22%, 34%, 0%, 20%.
What works best as a companion color for #9f87cc?
Is #9f87cc suitable for user interface backgrounds?
Yes, #9f87cc functions well as a UI background because it offers enough contrast against black text while maintaining a calm, desaturated quality. It prevents the visual fatigue that often comes with overly saturated purples in long-form digital content.
Is #9f87cc readable on white or black?
#9f87cc has a 3.08:1 contrast ratio on white and 6.81: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.