Skip to content

#df49ff

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

RGB
223, 73, 255
HSL
290°, 100%, 64%
CMYK
13, 71, 0, 0
Luminance
0.2767

Every format

HEX#df49ff
RGBrgb(223, 73, 255)
HSLhsl(290, 100%, 64%)
CMYKcmyk(13%, 71%, 0%, 0%)
LABlab(59.6 80.1 -62.3)
LCHlch(59.6 101.5 322.1)
OKLCHoklch(0.687 0.271 319.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df49ff on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#df49ff on black: 6.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green28.6%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta71.4%
Yellow0.0%
Key (black)0.0%

Color previews

#df49ff text on a black background

contrast 6.53:1

Card sample

#df49ff text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df49ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df49ff in the Color Lab