Skip to content

#cc3ffc

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

RGB
204, 63, 252
HSL
285°, 97%, 62%
CMYK
19, 75, 0, 1
Luminance
0.2342

Every format

HEX#cc3ffc
RGBrgb(204, 63, 252)
HSLhsl(285, 97%, 62%)
CMYKcmyk(19%, 75%, 0%, 1%)
LABlab(55.5 79.3 -67.3)
LCHlch(55.5 104.0 319.7)
OKLCHoklch(0.652 0.272 315.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc3ffc on white: 3.69:1
AA ✗ fail · AA-large · AAA
Aa
#cc3ffc on black: 5.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green24.7%
Blue98.8%

CMYK percentages

Cyan19.0%
Magenta75.0%
Yellow0.0%
Key (black)1.2%

Color previews

#cc3ffc text on a black background

contrast 5.68:1

Card sample

#cc3ffc text on a white background

contrast 3.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc3ffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc3ffc in the Color Lab