Skip to content

#cd39fd

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

RGB
205, 57, 253
HSL
285°, 98%, 61%
CMYK
19, 78, 0, 1
Luminance
0.2300

Every format

HEX#cd39fd
RGBrgb(205, 57, 253)
HSLhsl(285, 98%, 61%)
CMYKcmyk(19%, 78%, 0%, 1%)
LABlab(55.1 81.5 -68.6)
LCHlch(55.1 106.5 319.9)
OKLCHoklch(0.649 0.279 316.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd39fd on white: 3.75:1
AA ✗ fail · AA-large · AAA
Aa
#cd39fd on black: 5.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green22.4%
Blue99.2%

CMYK percentages

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

Color previews

#cd39fd text on a black background

contrast 5.60:1

Card sample

#cd39fd text on a white background

contrast 3.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd39fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd39fd in the Color Lab