Skip to content

#df4bfe

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

RGB
223, 75, 254
HSL
290°, 99%, 65%
CMYK
12, 71, 0, 0
Luminance
0.2788

Every format

HEX#df4bfe
RGBrgb(223, 75, 254)
HSLhsl(290, 99%, 65%)
CMYKcmyk(12%, 71%, 0%, 0%)
LABlab(59.8 79.2 -61.4)
LCHlch(59.8 100.3 322.2)
OKLCHoklch(0.688 0.268 320.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df4bfe on white: 3.19:1
AA ✗ fail · AA-large · AAA
Aa
#df4bfe on black: 6.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green29.4%
Blue99.6%

CMYK percentages

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

Color previews

#df4bfe text on a black background

contrast 6.58:1

Card sample

#df4bfe text on a white background

contrast 3.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df4bfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df4bfe in the Color Lab