Skip to content

#df57ff

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

RGB
223, 87, 255
HSL
289°, 100%, 67%
CMYK
13, 66, 0, 0
Luminance
0.2972

Every format

HEX#df57ff
RGBrgb(223, 87, 255)
HSLhsl(289, 100%, 67%)
CMYKcmyk(13%, 66%, 0%, 0%)
LABlab(61.4 75.0 -59.4)
LCHlch(61.4 95.6 321.6)
OKLCHoklch(0.700 0.255 319.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df57ff on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#df57ff on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green34.1%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta65.9%
Yellow0.0%
Key (black)0.0%

Color previews

#df57ff text on a black background

contrast 6.94:1

Card sample

#df57ff text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df57ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df57ff in the Color Lab