Skip to content

#d2ccf7

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

RGB
210, 204, 247
HSL
248°, 73%, 88%
CMYK
15, 17, 0, 3
Luminance
0.6360

Every format

HEX#d2ccf7
RGBrgb(210, 204, 247)
HSLhsl(248, 73%, 88%)
CMYKcmyk(15%, 17%, 0%, 3%)
LABlab(83.8 10.4 -20.3)
LCHlch(83.8 22.8 297.1)
OKLCHoklch(0.864 0.059 291.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green80.0%
Blue96.9%

CMYK percentages

Cyan15.0%
Magenta17.4%
Yellow0.0%
Key (black)3.1%

Color previews

#d2ccf7 text on a black background

contrast 13.72:1

Card sample

#d2ccf7 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ccf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ccf7 in the Color Lab