Skip to content

#df87ff

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

RGB
223, 135, 255
HSL
284°, 100%, 77%
CMYK
13, 47, 0, 0
Luminance
0.4024

Every format

HEX#df87ff
RGBrgb(223, 135, 255)
HSLhsl(284, 100%, 77%)
CMYKcmyk(13%, 47%, 0%, 0%)
LABlab(69.6 52.9 -46.3)
LCHlch(69.6 70.3 318.8)
OKLCHoklch(0.760 0.187 316.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df87ff on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#df87ff on black: 9.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green52.9%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta47.1%
Yellow0.0%
Key (black)0.0%

Color previews

#df87ff text on a black background

contrast 9.05:1

Card sample

#df87ff text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df87ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df87ff in the Color Lab