Skip to content

#df8ff8

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

RGB
223, 143, 248
HSL
286°, 88%, 77%
CMYK
10, 42, 0, 3
Luminance
0.4211

Every format

HEX#df8ff8
RGBrgb(223, 143, 248)
HSLhsl(286, 88%, 77%)
CMYKcmyk(10%, 42%, 0%, 3%)
LABlab(71.0 47.4 -40.5)
LCHlch(71.0 62.3 319.5)
OKLCHoklch(0.769 0.166 317.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green56.1%
Blue97.3%

CMYK percentages

Cyan10.1%
Magenta42.3%
Yellow0.0%
Key (black)2.7%

Color previews

#df8ff8 text on a black background

contrast 9.42:1

Card sample

#df8ff8 text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8ff8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df8ff8 in the Color Lab