#9898F4 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors
See all shades of purple with names and hex codes →

This cool, mid-tone periwinkle sits between blue and violet. With high saturation, #9898f4 commands attention, making it an effective choice for accent buttons or creative UI headers rather than full backgrounds. Black text remains perfectly legible against this shade, ensuring solid accessibility for small type. The hex code for this electric indigo is #9898f4, a hue best paired with stark whites or deep charcoal greys.
Questions about #9898f4
What is #9898f4 in RGB, HSL and CMYK?
In RGB, #9898f4 is rgb(152, 152, 244), in HSL hsl(240, 81%, 78%) and in CMYK 38%, 38%, 0%, 4%.
What colors pair well with #9898f4 for a professional look?
#9898f4 works best when grounded by high-contrast neutrals. It creates a crisp, modern aesthetic when paired with deep charcoal or stark white, which allows the periwinkle to pop as an accent button without overwhelming the interface.
Is #9898f4 suitable for use with text?
Yes, #9898f4 maintains excellent readability when used with black or near-black text. Its high saturation and mid-tone value provide enough contrast for small type, though it should be avoided as a background for light gray or pastel text.
Is #9898f4 readable on white or black?
#9898f4 has a 2.58:1 contrast ratio on white and 8.13: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.