Skip to content

#df5afb

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

RGB
223, 90, 251
HSL
290°, 95%, 67%
CMYK
11, 64, 0, 2
Luminance
0.2997

Every format

HEX#df5afb
RGBrgb(223, 90, 251)
HSLhsl(290, 95%, 67%)
CMYKcmyk(11%, 64%, 0%, 2%)
LABlab(61.6 73.0 -56.8)
LCHlch(61.6 92.5 322.1)
OKLCHoklch(0.701 0.248 320.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df5afb on white: 3.00:1
AA ✗ fail · AA-large · AAA
Aa
#df5afb on black: 6.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green35.3%
Blue98.4%

CMYK percentages

Cyan11.2%
Magenta64.1%
Yellow0.0%
Key (black)1.6%

Color previews

#df5afb text on a black background

contrast 6.99:1

Card sample

#df5afb text on a white background

contrast 3.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df5afb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df5afb in the Color Lab