Skip to content

#df41ff

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

RGB
223, 65, 255
HSL
290°, 100%, 63%
CMYK
13, 75, 0, 0
Luminance
0.2669

Every format

HEX#df41ff
RGBrgb(223, 65, 255)
HSLhsl(290, 100%, 63%)
CMYKcmyk(13%, 75%, 0%, 0%)
LABlab(58.7 82.7 -63.7)
LCHlch(58.7 104.4 322.4)
OKLCHoklch(0.680 0.279 320.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df41ff on white: 3.31:1
AA ✗ fail · AA-large · AAA
Aa
#df41ff on black: 6.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green25.5%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta74.5%
Yellow0.0%
Key (black)0.0%

Color previews

#df41ff text on a black background

contrast 6.34:1

Card sample

#df41ff text on a white background

contrast 3.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df41ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df41ff in the Color Lab