Skip to content

#df9cf4

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

RGB
223, 156, 244
HSL
286°, 80%, 78%
CMYK
9, 36, 0, 4
Luminance
0.4600

Every format

HEX#df9cf4
RGBrgb(223, 156, 244)
HSLhsl(286, 80%, 78%)
CMYKcmyk(9%, 36%, 0%, 4%)
LABlab(73.5 39.7 -34.3)
LCHlch(73.5 52.4 319.2)
OKLCHoklch(0.788 0.140 317.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9cf4 on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#df9cf4 on black: 10.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green61.2%
Blue95.7%

CMYK percentages

Cyan8.6%
Magenta36.1%
Yellow0.0%
Key (black)4.3%

Color previews

#df9cf4 text on a black background

contrast 10.20:1

Card sample

#df9cf4 text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9cf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9cf4 in the Color Lab