Skip to content

#df8cef

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

RGB
223, 140, 239
HSL
290°, 76%, 74%
CMYK
7, 41, 0, 6
Luminance
0.4068

Every format

HEX#df8cef
RGBrgb(223, 140, 239)
HSLhsl(290, 76%, 74%)
CMYKcmyk(7%, 41%, 0%, 6%)
LABlab(70.0 47.2 -37.1)
LCHlch(70.0 60.0 321.8)
OKLCHoklch(0.760 0.162 321.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green54.9%
Blue93.7%

CMYK percentages

Cyan6.7%
Magenta41.4%
Yellow0.0%
Key (black)6.3%

Color previews

#df8cef text on a black background

contrast 9.14:1

Card sample

#df8cef text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df8cef in the Color Lab