Skip to content

#cc11fd

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

RGB
204, 17, 253
HSL
288°, 98%, 53%
CMYK
19, 93, 0, 1
Luminance
0.2033

Every format

HEX#cc11fd
RGBrgb(204, 17, 253)
HSLhsl(288, 98%, 53%)
CMYKcmyk(19%, 93%, 0%, 1%)
LABlab(52.2 89.3 -73.2)
LCHlch(52.2 115.5 320.7)
OKLCHoklch(0.629 0.301 316.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc11fd on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#cc11fd on black: 5.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green6.7%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta93.3%
Yellow0.0%
Key (black)0.8%

Color previews

#cc11fd text on a black background

contrast 5.07:1

Card sample

#cc11fd text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc11fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc11fd in the Color Lab