Skip to content

#df8ff0

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

RGB
223, 143, 240
HSL
290°, 76%, 75%
CMYK
7, 40, 0, 6
Luminance
0.4162

Every format

HEX#df8ff0
RGBrgb(223, 143, 240)
HSLhsl(290, 76%, 75%)
CMYKcmyk(7%, 40%, 0%, 6%)
LABlab(70.6 45.8 -36.6)
LCHlch(70.6 58.6 321.3)
OKLCHoklch(0.765 0.158 320.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df8ff0 on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#df8ff0 on black: 9.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green56.1%
Blue94.1%

CMYK percentages

Cyan7.1%
Magenta40.4%
Yellow0.0%
Key (black)5.9%

Color previews

#df8ff0 text on a black background

contrast 9.32:1

Card sample

#df8ff0 text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8ff0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df8ff0 in the Color Lab