#987DF1 Hex Color

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

Hex color #987df1 graphic
This bright, bold violet commands attention with high saturation and an electric cool temperature. Because of its intensity, #987df1 works best as a punchy accent rather than a full background color. It pairs surprisingly well with deep charcoal or muted olive greens. Since black text provides excellent readability, this hex code is a strong choice for UI highlights or call to action buttons when learning what colors make gray.

Questions about #987df1

What is #987df1 in RGB, HSL and CMYK?
In RGB, #987df1 is rgb(152, 125, 241), in HSL hsl(254, 81%, 72%) and in CMYK 37%, 48%, 0%, 5%. Browse more shades of purple with names and hex codes.
What colors pair best with #987df1?
Because #987df1 carries such intense electric energy, it grounds well against deep charcoal or desaturated olive tones. Using it against neutral backgrounds keeps your design clean and prevents the high saturation from overwhelming the overall layout of your interface.
Is #987df1 suitable for text on websites?
The high luminosity of #987df1 makes it difficult to read as a primary text color against light backgrounds. Use it primarily for interface highlights, call to action buttons, or active states where you need to draw user attention without sacrificing long-term readability.
Is #987df1 readable on white or black?
#987df1 has a 3.21:1 contrast ratio on white and 6.53: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.