#9876F2 Hex Color

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

Hex color #9876f2 graphic
#9876f2 is a bold, high-energy violet that demands attention. Because of its intense saturation, it works best as a punchy accent rather than a full background. This color pairs well with deep charcoals, but consider mixing gray if you need to soften its loudness. It maintains excellent readability with black text, as the 6.2:1 contrast ratio comfortably exceeds accessibility standards for smaller body text.

Questions about #9876f2

What is #9876f2 in RGB, HSL and CMYK?
In RGB, #9876f2 is rgb(152, 118, 242), in HSL hsl(256, 83%, 71%) and in CMYK 37%, 51%, 0%, 5%.
What colors pair best with #9876f2?
Because #9876f2 carries such high visual energy, pairing it with neutral, deep tones like charcoal creates a balanced, modern look. If you need to soften the intensity, mixing it with lighter grays keeps the violet feeling vibrant but grounded.
Is #9876f2 readable on white or black?
#9876f2 has a 3.38:1 contrast ratio on white and 6.20: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.