Skip to content

#df8efc

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

RGB
223, 142, 252
HSL
284°, 95%, 77%
CMYK
12, 44, 0, 1
Luminance
0.4206

Every format

HEX#df8efc
RGBrgb(223, 142, 252)
HSLhsl(284, 95%, 77%)
CMYKcmyk(12%, 44%, 0%, 1%)
LABlab(70.9 48.7 -42.7)
LCHlch(70.9 64.7 318.7)
OKLCHoklch(0.769 0.172 316.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df8efc on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#df8efc on black: 9.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green55.7%
Blue98.8%

CMYK percentages

Cyan11.5%
Magenta43.7%
Yellow0.0%
Key (black)1.2%

Color previews

#df8efc text on a black background

contrast 9.41:1

Card sample

#df8efc text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8efc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df8efc in the Color Lab