Skip to content

#df9df6

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

RGB
223, 157, 246
HSL
285°, 83%, 79%
CMYK
9, 36, 0, 4
Luminance
0.4646

Every format

HEX#df9df6
RGBrgb(223, 157, 246)
HSLhsl(285, 83%, 79%)
CMYKcmyk(9%, 36%, 0%, 4%)
LABlab(73.8 39.6 -34.9)
LCHlch(73.8 52.8 318.6)
OKLCHoklch(0.790 0.141 317.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan9.3%
Magenta36.2%
Yellow0.0%
Key (black)3.5%

Color previews

#df9df6 text on a black background

contrast 10.29:1

Card sample

#df9df6 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9df6 in the Color Lab