Skip to content

#df9df7

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

RGB
223, 157, 247
HSL
284°, 85%, 79%
CMYK
10, 36, 0, 3
Luminance
0.4652

Every format

HEX#df9df7
RGBrgb(223, 157, 247)
HSLhsl(284, 85%, 79%)
CMYKcmyk(10%, 36%, 0%, 3%)
LABlab(73.9 39.8 -35.4)
LCHlch(73.9 53.2 318.4)
OKLCHoklch(0.791 0.142 316.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9df7 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#df9df7 on black: 10.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green61.6%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta36.4%
Yellow0.0%
Key (black)3.1%

Color previews

#df9df7 text on a black background

contrast 10.30:1

Card sample

#df9df7 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9df7 in the Color Lab