Skip to content

#df86f0

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

RGB
223, 134, 240
HSL
290°, 78%, 73%
CMYK
7, 44, 0, 6
Luminance
0.3903

Every format

HEX#df86f0
RGBrgb(223, 134, 240)
HSLhsl(290, 78%, 73%)
CMYKcmyk(7%, 44%, 0%, 6%)
LABlab(68.8 50.5 -39.5)
LCHlch(68.8 64.1 322.0)
OKLCHoklch(0.751 0.173 321.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df86f0 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#df86f0 on black: 8.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan7.1%
Magenta44.2%
Yellow0.0%
Key (black)5.9%

Color previews

#df86f0 text on a black background

contrast 8.81:1

Card sample

#df86f0 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df86f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df86f0 in the Color Lab