Skip to content

#dcd1fd

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

RGB
220, 209, 253
HSL
255°, 92%, 91%
CMYK
13, 17, 0, 1
Luminance
0.6791

Every format

HEX#dcd1fd
RGBrgb(220, 209, 253)
HSLhsl(255, 92%, 91%)
CMYKcmyk(13%, 17%, 0%, 1%)
LABlab(86.0 12.1 -20.1)
LCHlch(86.0 23.5 301.1)
OKLCHoklch(0.883 0.061 296.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd1fd on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#dcd1fd on black: 14.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green82.0%
Blue99.2%

CMYK percentages

Cyan13.0%
Magenta17.4%
Yellow0.0%
Key (black)0.8%

Color previews

#dcd1fd text on a black background

contrast 14.58:1

Card sample

#dcd1fd text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd1fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd1fd in the Color Lab