Skip to content

#df8ce9

a light, vivid magenta / pink · warm · closest name: violet

RGB
223, 140, 233
HSL
294°, 68%, 73%
CMYK
4, 40, 0, 9
Luminance
0.4033

Every format

HEX#df8ce9
RGBrgb(223, 140, 233)
HSLhsl(294, 68%, 73%)
CMYKcmyk(4%, 40%, 0%, 9%)
LABlab(69.7 46.0 -34.2)
LCHlch(69.7 57.3 323.4)
OKLCHoklch(0.757 0.156 323.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df8ce9 on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#df8ce9 on black: 9.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green54.9%
Blue91.4%

CMYK percentages

Cyan4.3%
Magenta39.9%
Yellow0.0%
Key (black)8.6%

Color previews

#df8ce9 text on a black background

contrast 9.07:1

Card sample

#df8ce9 text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8ce9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df8ce9 in the Color Lab