Skip to content

#df9afd

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

RGB
223, 154, 253
HSL
282°, 96%, 80%
CMYK
12, 39, 0, 1
Luminance
0.4589

Every format

HEX#df9afd
RGBrgb(223, 154, 253)
HSLhsl(282, 96%, 80%)
CMYKcmyk(12%, 39%, 0%, 1%)
LABlab(73.5 42.6 -39.2)
LCHlch(73.5 57.9 317.3)
OKLCHoklch(0.788 0.153 315.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df9afd on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#df9afd on black: 10.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green60.4%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta39.1%
Yellow0.0%
Key (black)0.8%

Color previews

#df9afd text on a black background

contrast 10.18:1

Card sample

#df9afd text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df9afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df9afd in the Color Lab