Skip to content

#d2ccf1

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

RGB
210, 204, 241
HSL
250°, 57%, 87%
CMYK
13, 15, 0, 6
Luminance
0.6324

Every format

HEX#d2ccf1
RGBrgb(210, 204, 241)
HSLhsl(250, 57%, 87%)
CMYKcmyk(13%, 15%, 0%, 6%)
LABlab(83.6 9.2 -17.4)
LCHlch(83.6 19.7 297.8)
OKLCHoklch(0.862 0.051 292.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ccf1 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#d2ccf1 on black: 13.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green80.0%
Blue94.5%

CMYK percentages

Cyan12.9%
Magenta15.4%
Yellow0.0%
Key (black)5.5%

Color previews

#d2ccf1 text on a black background

contrast 13.65:1

Card sample

#d2ccf1 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ccf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ccf1 in the Color Lab