Skip to content

#df4ffe

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

RGB
223, 79, 254
HSL
289°, 99%, 65%
CMYK
12, 69, 0, 0
Luminance
0.2844

Every format

HEX#df4ffe
RGBrgb(223, 79, 254)
HSLhsl(289, 99%, 65%)
CMYKcmyk(12%, 69%, 0%, 0%)
LABlab(60.3 77.8 -60.6)
LCHlch(60.3 98.6 322.1)
OKLCHoklch(0.692 0.264 319.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4ffe on white: 3.14:1
AA ✗ fail · AA-large · AAA
Aa
#df4ffe on black: 6.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green31.0%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta68.9%
Yellow0.0%
Key (black)0.4%

Color previews

#df4ffe text on a black background

contrast 6.69:1

Card sample

#df4ffe text on a white background

contrast 3.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4ffe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4ffe in the Color Lab