Skip to content

#dfd1fd

a pale, electric violet · warm · closest name: lavender

RGB
223, 209, 253
HSL
259°, 92%, 91%
CMYK
12, 17, 0, 1
Luminance
0.6838

Every format

HEX#dfd1fd
RGBrgb(223, 209, 253)
HSLhsl(259, 92%, 91%)
CMYKcmyk(12%, 17%, 0%, 1%)
LABlab(86.2 13.1 -19.7)
LCHlch(86.2 23.7 303.5)
OKLCHoklch(0.886 0.061 299.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd1fd on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#dfd1fd on black: 14.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green82.0%
Blue99.2%

CMYK percentages

Cyan11.9%
Magenta17.4%
Yellow0.0%
Key (black)0.8%

Color previews

#dfd1fd text on a black background

contrast 14.68:1

Card sample

#dfd1fd text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd1fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd1fd in the Color Lab