Skip to content

#cc5df3

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

RGB
204, 93, 243
HSL
284°, 86%, 66%
CMYK
16, 62, 0, 5
Luminance
0.2714

Every format

HEX#cc5df3
RGBrgb(204, 93, 243)
HSLhsl(284, 86%, 66%)
CMYKcmyk(16%, 62%, 0%, 5%)
LABlab(59.1 66.0 -56.6)
LCHlch(59.1 86.9 319.4)
OKLCHoklch(0.676 0.229 316.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc5df3 on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#cc5df3 on black: 6.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green36.5%
Blue95.3%

CMYK percentages

Cyan16.0%
Magenta61.7%
Yellow0.0%
Key (black)4.7%

Color previews

#cc5df3 text on a black background

contrast 6.43:1

Card sample

#cc5df3 text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc5df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc5df3 in the Color Lab