Skip to content

#df9df1

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

RGB
223, 157, 241
HSL
287°, 75%, 78%
CMYK
8, 35, 0, 6
Luminance
0.4615

Every format

HEX#df9df1
RGBrgb(223, 157, 241)
HSLhsl(287, 75%, 78%)
CMYKcmyk(8%, 35%, 0%, 6%)
LABlab(73.7 38.6 -32.5)
LCHlch(73.7 50.4 319.9)
OKLCHoklch(0.788 0.135 318.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9df1 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#df9df1 on black: 10.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green61.6%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta34.9%
Yellow0.0%
Key (black)5.5%

Color previews

#df9df1 text on a black background

contrast 10.23:1

Card sample

#df9df1 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9df1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9df1 in the Color Lab