Skip to content

#d409fd

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

RGB
212, 9, 253
HSL
290°, 98%, 51%
CMYK
16, 96, 0, 1
Luminance
0.2128

Every format

HEX#d409fd
RGBrgb(212, 9, 253)
HSLhsl(290, 98%, 51%)
CMYKcmyk(16%, 96%, 0%, 1%)
LABlab(53.3 91.1 -71.5)
LCHlch(53.3 115.8 321.9)
OKLCHoklch(0.639 0.306 318.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d409fd on white: 3.99:1
AA ✗ fail · AA-large · AAA
Aa
#d409fd on black: 5.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green3.5%
Blue99.2%

CMYK percentages

Cyan16.2%
Magenta96.4%
Yellow0.0%
Key (black)0.8%

Color previews

#d409fd text on a black background

contrast 5.26:1

Card sample

#d409fd text on a white background

contrast 3.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d409fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d409fd in the Color Lab