Skip to content

#df8cee

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

RGB
223, 140, 238
HSL
291°, 74%, 74%
CMYK
6, 41, 0, 7
Luminance
0.4062

Every format

HEX#df8cee
RGBrgb(223, 140, 238)
HSLhsl(291, 74%, 74%)
CMYKcmyk(6%, 41%, 0%, 7%)
LABlab(69.9 47.0 -36.6)
LCHlch(69.9 59.5 322.1)
OKLCHoklch(0.760 0.161 321.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df8cee on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#df8cee on black: 9.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green54.9%
Blue93.3%

CMYK percentages

Cyan6.3%
Magenta41.2%
Yellow0.0%
Key (black)6.7%

Color previews

#df8cee text on a black background

contrast 9.12:1

Card sample

#df8cee text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8cee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df8cee in the Color Lab