Skip to content

#df9cef

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

RGB
223, 156, 239
HSL
288°, 72%, 78%
CMYK
7, 35, 0, 6
Luminance
0.4570

Every format

HEX#df9cef
RGBrgb(223, 156, 239)
HSLhsl(288, 72%, 78%)
CMYKcmyk(7%, 35%, 0%, 6%)
LABlab(73.3 38.7 -31.8)
LCHlch(73.3 50.1 320.6)
OKLCHoklch(0.786 0.135 319.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9cef on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#df9cef on black: 10.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green61.2%
Blue93.7%

CMYK percentages

Cyan6.7%
Magenta34.7%
Yellow0.0%
Key (black)6.3%

Color previews

#df9cef text on a black background

contrast 10.14:1

Card sample

#df9cef text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9cef in the Color Lab