Skip to content

#df4dff

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

RGB
223, 77, 255
HSL
289°, 100%, 65%
CMYK
13, 70, 0, 0
Luminance
0.2822

Every format

HEX#df4dff
RGBrgb(223, 77, 255)
HSLhsl(289, 100%, 65%)
CMYKcmyk(13%, 70%, 0%, 0%)
LABlab(60.1 78.7 -61.5)
LCHlch(60.1 99.9 322.0)
OKLCHoklch(0.690 0.267 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4dff on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#df4dff on black: 6.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green30.2%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta69.8%
Yellow0.0%
Key (black)0.0%

Color previews

#df4dff text on a black background

contrast 6.64:1

Card sample

#df4dff text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4dff in the Color Lab