Skip to content

#d2ccf8

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

RGB
210, 204, 248
HSL
248°, 76%, 89%
CMYK
15, 18, 0, 3
Luminance
0.6366

Every format

HEX#d2ccf8
RGBrgb(210, 204, 248)
HSLhsl(248, 76%, 89%)
CMYKcmyk(15%, 18%, 0%, 3%)
LABlab(83.8 10.6 -20.8)
LCHlch(83.8 23.4 297.0)
OKLCHoklch(0.864 0.061 291.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ccf8 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#d2ccf8 on black: 13.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green80.0%
Blue97.3%

CMYK percentages

Cyan15.3%
Magenta17.7%
Yellow0.0%
Key (black)2.7%

Color previews

#d2ccf8 text on a black background

contrast 13.73:1

Card sample

#d2ccf8 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ccf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ccf8 in the Color Lab