Skip to content

#dcd8f2

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

RGB
220, 216, 242
HSL
249°, 50%, 90%
CMYK
9, 11, 0, 5
Luminance
0.7074

Every format

HEX#dcd8f2
RGBrgb(220, 216, 242)
HSLhsl(249, 50%, 90%)
CMYKcmyk(9%, 11%, 0%, 5%)
LABlab(87.4 6.2 -12.2)
LCHlch(87.4 13.7 297.1)
OKLCHoklch(0.893 0.036 292.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcd8f2 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#dcd8f2 on black: 15.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green84.7%
Blue94.9%

CMYK percentages

Cyan9.1%
Magenta10.7%
Yellow0.0%
Key (black)5.1%

Color previews

#dcd8f2 text on a black background

contrast 15.15:1

Card sample

#dcd8f2 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcd8f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcd8f2 in the Color Lab