Skip to content

#df52fd

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

RGB
223, 82, 253
HSL
290°, 98%, 66%
CMYK
12, 68, 0, 1
Luminance
0.2881

Every format

HEX#df52fd
RGBrgb(223, 82, 253)
HSLhsl(290, 98%, 66%)
CMYKcmyk(12%, 68%, 0%, 1%)
LABlab(60.6 76.5 -59.5)
LCHlch(60.6 96.9 322.1)
OKLCHoklch(0.694 0.260 320.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df52fd on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#df52fd on black: 6.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green32.2%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta67.6%
Yellow0.0%
Key (black)0.8%

Color previews

#df52fd text on a black background

contrast 6.76:1

Card sample

#df52fd text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df52fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df52fd in the Color Lab