Skip to content

#df5bfd

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

RGB
223, 91, 253
HSL
289°, 98%, 68%
CMYK
12, 64, 0, 1
Luminance
0.3026

Every format

HEX#df5bfd
RGBrgb(223, 91, 253)
HSLhsl(289, 98%, 68%)
CMYKcmyk(12%, 64%, 0%, 1%)
LABlab(61.9 73.0 -57.5)
LCHlch(61.9 92.9 321.8)
OKLCHoklch(0.703 0.249 319.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df5bfd on white: 2.98:1
AA ✗ fail · AA-large · AAA
Aa
#df5bfd on black: 7.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green35.7%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta64.0%
Yellow0.0%
Key (black)0.8%

Color previews

#df5bfd text on a black background

contrast 7.05:1

Card sample

#df5bfd text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5bfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df5bfd in the Color Lab