Skip to content

#df50fe

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

RGB
223, 80, 254
HSL
289°, 99%, 66%
CMYK
12, 69, 0, 0
Luminance
0.2858

Every format

HEX#df50fe
RGBrgb(223, 80, 254)
HSLhsl(289, 99%, 66%)
CMYKcmyk(12%, 69%, 0%, 0%)
LABlab(60.4 77.4 -60.4)
LCHlch(60.4 98.2 322.0)
OKLCHoklch(0.693 0.263 319.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df50fe on white: 3.13:1
AA ✗ fail · AA-large · AAA
Aa
#df50fe on black: 6.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green31.4%
Blue99.6%

CMYK percentages

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

Color previews

#df50fe text on a black background

contrast 6.72:1

Card sample

#df50fe text on a white background

contrast 3.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df50fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df50fe in the Color Lab