Skip to content

#dc39fd

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

RGB
220, 57, 253
HSL
290°, 98%, 61%
CMYK
13, 78, 0, 1
Luminance
0.2523

Every format

HEX#dc39fd
RGBrgb(220, 57, 253)
HSLhsl(290, 98%, 61%)
CMYKcmyk(13%, 78%, 0%, 1%)
LABlab(57.3 84.1 -64.9)
LCHlch(57.3 106.2 322.4)
OKLCHoklch(0.669 0.284 320.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dc39fd on white: 3.47:1
AA ✗ fail · AA-large · AAA
Aa
#dc39fd on black: 6.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green22.4%
Blue99.2%

CMYK percentages

Cyan13.0%
Magenta77.5%
Yellow0.0%
Key (black)0.8%

Color previews

#dc39fd text on a black background

contrast 6.05:1

Card sample

#dc39fd text on a white background

contrast 3.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dc39fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dc39fd in the Color Lab