Skip to content

#cc5df8

a light, electric violet · warm · closest name: violet

RGB
204, 93, 248
HSL
283°, 92%, 67%
CMYK
18, 63, 0, 3
Luminance
0.2744

Every format

HEX#cc5df8
RGBrgb(204, 93, 248)
HSLhsl(283, 92%, 67%)
CMYKcmyk(18%, 63%, 0%, 3%)
LABlab(59.4 66.9 -58.9)
LCHlch(59.4 89.2 318.7)
OKLCHoklch(0.679 0.234 315.0)

Copy-ready code

/* CSS */
color: #cc5df8;
background-color: #cc5df8;
/* Tailwind (arbitrary) */
class="text-[#cc5df8] bg-[#cc5df8]"
/* SCSS */
$brand: #cc5df8;
/* SwiftUI */
Color(red: 0.800, green: 0.365, blue: 0.973)
/* Android */
Color.parseColor("#cc5df8")

Accessibility — WCAG contrast

Aa
#cc5df8 on white: 3.24:1
AA ✗ fail · AA-large · AAA
Aa
#cc5df8 on black: 6.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green36.5%
Blue97.3%

CMYK percentages

Cyan17.7%
Magenta62.5%
Yellow0.0%
Key (black)2.7%

Color previews

#cc5df8 text on a black background

contrast 6.49:1

Card sample

#cc5df8 text on a white background

contrast 3.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cc5df8;
Background color
Panel with #cc5df8 background
background-color: #cc5df8;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cc5df8;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(204, 93, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 93, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc5df8;
background: linear-gradient(135deg, #cc5df8, #F85DBD);

Monochromatic scale

Palettes built from #cc5df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc5df8 in the Color Lab