Skip to content

#dc47fd

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

RGB
220, 71, 253
HSL
289°, 98%, 64%
CMYK
13, 72, 0, 1
Luminance
0.2681

Every format

HEX#dc47fd
RGBrgb(220, 71, 253)
HSLhsl(289, 98%, 64%)
CMYKcmyk(13%, 72%, 0%, 1%)
LABlab(58.8 79.8 -62.5)
LCHlch(58.8 101.4 322.0)
OKLCHoklch(0.680 0.270 319.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc47fd on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#dc47fd on black: 6.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green27.8%
Blue99.2%

CMYK percentages

Cyan13.0%
Magenta71.9%
Yellow0.0%
Key (black)0.8%

Color previews

#dc47fd text on a black background

contrast 6.36:1

Card sample

#dc47fd text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc47fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc47fd in the Color Lab