Skip to content

#dcd2fe

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

RGB
220, 210, 254
HSL
254°, 96%, 91%
CMYK
13, 17, 0, 0
Luminance
0.6846

Every format

HEX#dcd2fe
RGBrgb(220, 210, 254)
HSLhsl(254, 96%, 91%)
CMYKcmyk(13%, 17%, 0%, 0%)
LABlab(86.2 11.8 -20.2)
LCHlch(86.2 23.4 300.3)
OKLCHoklch(0.886 0.061 295.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green82.4%
Blue99.6%

CMYK percentages

Cyan13.4%
Magenta17.3%
Yellow0.0%
Key (black)0.4%

Color previews

#dcd2fe text on a black background

contrast 14.69:1

Card sample

#dcd2fe text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd2fe in the Color Lab