#CC99FF Hex Color

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

Lilás color codes graphic
Lilás is a bright, airy violet with a cool, electric edge. Because of its high lightness, it functions best as an accent color rather than a primary background, where it can easily appear washed out. Pair this shade with deep charcoal or black text for optimal readability. The hex code for Lilás is #cc99ff, making it a distinct choice for gaming aesthetics or modern, high-contrast UI elements.

Questions about Lilás

What is the hex code for Lilás?
Lilás is #cc99ff. In RGB that is rgb(204, 153, 255), in HSL hsl(270, 100%, 80%) and in CMYK 20%, 40%, 0%, 0%.
Why is #cc99ff difficult to use as a primary background color?
Lilás #cc99ff has a very high lightness value, meaning it often washes out when used in large areas. For best results, use it as a punchy accent against deep backgrounds like charcoal or matte black to maintain readability.
How can I style #cc99ff for modern UI elements?
Use Lilás #cc99ff to highlight interactive buttons or notifications where you want an electric, digital aesthetic. Because of its cool, airy nature, it creates a clean contrast when placed alongside neutral grays or dark, desaturated tones.
Is Lilás readable on white or black?
Lilás has a 2.19:1 contrast ratio on white and 9.56: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.