Skip to content

#df4cff

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

RGB
223, 76, 255
HSL
289°, 100%, 65%
CMYK
13, 70, 0, 0
Luminance
0.2808

Every format

HEX#df4cff
RGBrgb(223, 76, 255)
HSLhsl(289, 100%, 65%)
CMYKcmyk(13%, 70%, 0%, 0%)
LABlab(60.0 79.0 -61.7)
LCHlch(60.0 100.3 322.0)
OKLCHoklch(0.690 0.268 319.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4cff on white: 3.17:1
AA ✗ fail · AA-large · AAA
Aa
#df4cff on black: 6.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green29.8%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta70.2%
Yellow0.0%
Key (black)0.0%

Color previews

#df4cff text on a black background

contrast 6.62:1

Card sample

#df4cff text on a white background

contrast 3.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4cff in the Color Lab