Skip to content

#df8ff7

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

RGB
223, 143, 247
HSL
286°, 87%, 77%
CMYK
10, 42, 0, 3
Luminance
0.4205

Every format

HEX#df8ff7
RGBrgb(223, 143, 247)
HSLhsl(286, 87%, 77%)
CMYKcmyk(10%, 42%, 0%, 3%)
LABlab(70.9 47.1 -40.0)
LCHlch(70.9 61.8 319.7)
OKLCHoklch(0.768 0.165 318.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green56.1%
Blue96.9%

CMYK percentages

Cyan9.7%
Magenta42.1%
Yellow0.0%
Key (black)3.1%

Color previews

#df8ff7 text on a black background

contrast 9.41:1

Card sample

#df8ff7 text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df8ff7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df8ff7 in the Color Lab