Skip to content

#df56ff

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

RGB
223, 86, 255
HSL
289°, 100%, 67%
CMYK
13, 66, 0, 0
Luminance
0.2956

Every format

HEX#df56ff
RGBrgb(223, 86, 255)
HSLhsl(289, 100%, 67%)
CMYKcmyk(13%, 66%, 0%, 0%)
LABlab(61.3 75.3 -59.6)
LCHlch(61.3 96.0 321.7)
OKLCHoklch(0.699 0.257 319.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df56ff on white: 3.04:1
AA ✗ fail · AA-large · AAA
Aa
#df56ff on black: 6.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green33.7%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta66.3%
Yellow0.0%
Key (black)0.0%

Color previews

#df56ff text on a black background

contrast 6.91:1

Card sample

#df56ff text on a white background

contrast 3.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df56ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df56ff in the Color Lab