Skip to content

#cc47fd

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

RGB
204, 71, 253
HSL
284°, 98%, 64%
CMYK
19, 72, 0, 1
Luminance
0.2444

Every format

HEX#cc47fd
RGBrgb(204, 71, 253)
HSLhsl(284, 98%, 64%)
CMYKcmyk(19%, 72%, 0%, 1%)
LABlab(56.5 76.8 -66.3)
LCHlch(56.5 101.4 319.2)
OKLCHoklch(0.659 0.265 315.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cc47fd on white: 3.57:1
AA ✗ fail · AA-large · AAA
Aa
#cc47fd on black: 5.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green27.8%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta71.9%
Yellow0.0%
Key (black)0.8%

Color previews

#cc47fd text on a black background

contrast 5.89:1

Card sample

#cc47fd text on a white background

contrast 3.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc47fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cc47fd in the Color Lab