Skip to content

#df4ffc

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

RGB
223, 79, 252
HSL
290°, 97%, 65%
CMYK
12, 69, 0, 1
Luminance
0.2831

Every format

HEX#df4ffc
RGBrgb(223, 79, 252)
HSLhsl(290, 97%, 65%)
CMYKcmyk(12%, 69%, 0%, 1%)
LABlab(60.2 77.5 -59.7)
LCHlch(60.2 97.8 322.4)
OKLCHoklch(0.690 0.262 320.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4ffc on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#df4ffc on black: 6.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green31.0%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta68.7%
Yellow0.0%
Key (black)1.2%

Color previews

#df4ffc text on a black background

contrast 6.66:1

Card sample

#df4ffc text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4ffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4ffc in the Color Lab