Skip to content

#df5aff

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

RGB
223, 90, 255
HSL
288°, 100%, 68%
CMYK
13, 65, 0, 0
Luminance
0.3022

Every format

HEX#df5aff
RGBrgb(223, 90, 255)
HSLhsl(288, 100%, 68%)
CMYKcmyk(13%, 65%, 0%, 0%)
LABlab(61.9 73.8 -58.7)
LCHlch(61.9 94.2 321.5)
OKLCHoklch(0.703 0.252 319.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green35.3%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta64.7%
Yellow0.0%
Key (black)0.0%

Color previews

#df5aff text on a black background

contrast 7.04:1

Card sample

#df5aff text on a white background

contrast 2.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5aff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df5aff in the Color Lab