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

An unsaturated, pastel violet, #afa1e8 offers a cool, calming presence for UI design. Because it holds excellent contrast with black text, it functions as a highly readable background for web interfaces. Pair this hex code with dark charcoals instead of white to keep the palette from looking washed out.
Questions about #afa1e8
What is #afa1e8 in RGB, HSL and CMYK?
In RGB, #afa1e8 is rgb(175, 161, 232), in HSL hsl(252, 61%, 77%) and in CMYK 25%, 31%, 0%, 9%. Browse more shades of purple with names and hex codes.
What colors pair best with #afa1e8 in a web interface?
#afa1e8 works best when anchored by high-contrast neutrals like charcoal or deep slate tones to prevent it from looking washed out. Avoid using pure white text on top of this color, as the contrast ratio is usually too low for readability standards.
Does #afa1e8 lean warm or cool in a design?
#afa1e8 is a distinctly cool-toned pastel, carrying a serene and airy mood that lacks the aggressive energy of warmer, more saturated purples. This makes it an ideal choice for wellness apps, healthcare interfaces, or any space where you want to promote a sense of calm and clarity.
Is #afa1e8 readable on white or black?
#afa1e8 has a 2.31:1 contrast ratio on white and 9.08: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.