Skip to content

#dcd2fc

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

RGB
220, 210, 252
HSL
254°, 88%, 91%
CMYK
13, 17, 0, 1
Luminance
0.6834

Every format

HEX#dcd2fc
RGBrgb(220, 210, 252)
HSLhsl(254, 88%, 91%)
CMYKcmyk(13%, 17%, 0%, 1%)
LABlab(86.2 11.4 -19.3)
LCHlch(86.2 22.4 300.6)
OKLCHoklch(0.885 0.058 296.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green82.4%
Blue98.8%

CMYK percentages

Cyan12.7%
Magenta16.7%
Yellow0.0%
Key (black)1.2%

Color previews

#dcd2fc text on a black background

contrast 14.67:1

Card sample

#dcd2fc text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd2fc in the Color Lab