Skip to content

#df5dff

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

RGB
223, 93, 255
HSL
288°, 100%, 68%
CMYK
13, 64, 0, 0
Luminance
0.3074

Every format

HEX#df5dff
RGBrgb(223, 93, 255)
HSLhsl(288, 100%, 68%)
CMYKcmyk(13%, 64%, 0%, 0%)
LABlab(62.3 72.5 -58.0)
LCHlch(62.3 92.8 321.4)
OKLCHoklch(0.706 0.248 319.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df5dff on white: 2.94:1
AA ✗ fail · AA-large · AAA
Aa
#df5dff on black: 7.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green36.5%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta63.5%
Yellow0.0%
Key (black)0.0%

Color previews

#df5dff text on a black background

contrast 7.15:1

Card sample

#df5dff text on a white background

contrast 2.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df5dff in the Color Lab