Skip to content

#df9cfe

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

RGB
223, 156, 254
HSL
281°, 98%, 80%
CMYK
12, 39, 0, 0
Luminance
0.4662

Every format

HEX#df9cfe
RGBrgb(223, 156, 254)
HSLhsl(281, 98%, 80%)
CMYKcmyk(12%, 39%, 0%, 0%)
LABlab(74.0 41.7 -39.0)
LCHlch(74.0 57.1 316.9)
OKLCHoklch(0.792 0.151 314.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9cfe on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#df9cfe on black: 10.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green61.2%
Blue99.6%

CMYK percentages

Cyan12.2%
Magenta38.6%
Yellow0.0%
Key (black)0.4%

Color previews

#df9cfe text on a black background

contrast 10.32:1

Card sample

#df9cfe text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9cfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9cfe in the Color Lab