Skip to content

#d1cdf2

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

RGB
209, 205, 242
HSL
247°, 59%, 88%
CMYK
14, 15, 0, 5
Luminance
0.6363

Every format

HEX#d1cdf2
RGBrgb(209, 205, 242)
HSLhsl(247, 59%, 88%)
CMYKcmyk(14%, 15%, 0%, 5%)
LABlab(83.8 8.5 -17.7)
LCHlch(83.8 19.6 295.8)
OKLCHoklch(0.863 0.051 290.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.0%
Green80.4%
Blue94.9%

CMYK percentages

Cyan13.6%
Magenta15.3%
Yellow0.0%
Key (black)5.1%

Color previews

#d1cdf2 text on a black background

contrast 13.73:1

Card sample

#d1cdf2 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1cdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1cdf2 in the Color Lab