Skip to content

#df87f0

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

RGB
223, 135, 240
HSL
290°, 78%, 74%
CMYK
7, 44, 0, 6
Luminance
0.3931

Every format

HEX#df87f0
RGBrgb(223, 135, 240)
HSLhsl(290, 78%, 74%)
CMYKcmyk(7%, 44%, 0%, 6%)
LABlab(69.0 49.9 -39.2)
LCHlch(69.0 63.5 321.9)
OKLCHoklch(0.753 0.171 321.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df87f0 on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#df87f0 on black: 8.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green52.9%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta43.8%
Yellow0.0%
Key (black)5.9%

Color previews

#df87f0 text on a black background

contrast 8.86:1

Card sample

#df87f0 text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df87f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df87f0 in the Color Lab