Skip to content

#cc3df6

a balanced, electric violet · warm · closest name: magenta

RGB
204, 61, 246
HSL
286°, 91%, 60%
CMYK
17, 75, 0, 4
Luminance
0.2283

Every format

HEX#cc3df6
RGBrgb(204, 61, 246)
HSLhsl(286, 91%, 60%)
CMYKcmyk(17%, 75%, 0%, 4%)
LABlab(54.9 78.8 -65.0)
LCHlch(54.9 102.2 320.5)
OKLCHoklch(0.646 0.269 317.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc3df6 on white: 3.77:1
AA ✗ fail · AA-large · AAA
Aa
#cc3df6 on black: 5.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green23.9%
Blue96.5%

CMYK percentages

Cyan17.1%
Magenta75.2%
Yellow0.0%
Key (black)3.5%

Color previews

#cc3df6 text on a black background

contrast 5.57:1

Card sample

#cc3df6 text on a white background

contrast 3.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc3df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc3df6 in the Color Lab