Skip to content

#dcd9ff

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

RGB
220, 217, 255
HSL
245°, 100%, 93%
CMYK
14, 15, 0, 0
Luminance
0.7206

Every format

HEX#dcd9ff
RGBrgb(220, 217, 255)
HSLhsl(245, 100%, 93%)
CMYKcmyk(14%, 15%, 0%, 0%)
LABlab(88.0 8.3 -18.1)
LCHlch(88.0 19.9 294.7)
OKLCHoklch(0.900 0.052 288.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd9ff on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#dcd9ff on black: 15.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green85.1%
Blue100.0%

CMYK percentages

Cyan13.7%
Magenta14.9%
Yellow0.0%
Key (black)0.0%

Color previews

#dcd9ff text on a black background

contrast 15.41:1

Card sample

#dcd9ff text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd9ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd9ff in the Color Lab