Skip to content

#df49fe

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

RGB
223, 73, 254
HSL
290°, 99%, 64%
CMYK
12, 71, 0, 0
Luminance
0.2761

Every format

HEX#df49fe
RGBrgb(223, 73, 254)
HSLhsl(290, 99%, 64%)
CMYKcmyk(12%, 71%, 0%, 0%)
LABlab(59.5 79.9 -61.8)
LCHlch(59.5 101.0 322.3)
OKLCHoklch(0.686 0.270 320.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df49fe on white: 3.22:1
AA ✗ fail · AA-large · AAA
Aa
#df49fe on black: 6.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green28.6%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta71.3%
Yellow0.0%
Key (black)0.4%

Color previews

#df49fe text on a black background

contrast 6.52:1

Card sample

#df49fe text on a white background

contrast 3.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(223, 73, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(223, 73, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #df49fe;
background: linear-gradient(135deg, #df49fe, #FE49A4);

Monochromatic scale

Palettes built from #df49fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df49fe in the Color Lab