Skip to content

#df8df8

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

RGB
223, 141, 248
HSL
286°, 88%, 76%
CMYK
10, 43, 0, 3
Luminance
0.4152

Every format

HEX#df8df8
RGBrgb(223, 141, 248)
HSLhsl(286, 88%, 76%)
CMYKcmyk(10%, 43%, 0%, 3%)
LABlab(70.5 48.4 -41.1)
LCHlch(70.5 63.5 319.7)
OKLCHoklch(0.766 0.170 318.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df8df8 on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#df8df8 on black: 9.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green55.3%
Blue97.3%

CMYK percentages

Cyan10.1%
Magenta43.1%
Yellow0.0%
Key (black)2.7%

Color previews

#df8df8 text on a black background

contrast 9.30:1

Card sample

#df8df8 text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df8df8 in the Color Lab