Skip to content

#d3cdf2

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

RGB
211, 205, 242
HSL
250°, 59%, 88%
CMYK
13, 15, 0, 5
Luminance
0.6392

Every format

HEX#d3cdf2
RGBrgb(211, 205, 242)
HSLhsl(250, 59%, 88%)
CMYKcmyk(13%, 15%, 0%, 5%)
LABlab(83.9 9.2 -17.4)
LCHlch(83.9 19.7 297.8)
OKLCHoklch(0.865 0.051 292.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3cdf2 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#d3cdf2 on black: 13.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green80.4%
Blue94.9%

CMYK percentages

Cyan12.8%
Magenta15.3%
Yellow0.0%
Key (black)5.1%

Color previews

#d3cdf2 text on a black background

contrast 13.78:1

Card sample

#d3cdf2 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3cdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3cdf2 in the Color Lab