Skip to content

#dfadf1

a light, vivid violet · warm · closest name: plum

RGB
223, 173, 241
HSL
284°, 71%, 81%
CMYK
8, 28, 0, 6
Luminance
0.5193

Every format

HEX#dfadf1
RGBrgb(223, 173, 241)
HSLhsl(284, 71%, 81%)
CMYKcmyk(8%, 28%, 0%, 6%)
LABlab(77.2 30.0 -26.9)
LCHlch(77.2 40.3 318.1)
OKLCHoklch(0.816 0.107 317.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfadf1 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#dfadf1 on black: 11.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green67.8%
Blue94.5%

CMYK percentages

Cyan7.5%
Magenta28.2%
Yellow0.0%
Key (black)5.5%

Color previews

#dfadf1 text on a black background

contrast 11.39:1

Card sample

#dfadf1 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfadf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfadf1 in the Color Lab