Skip to content

#d3cdf7

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

RGB
211, 205, 247
HSL
249°, 72%, 89%
CMYK
15, 17, 0, 3
Luminance
0.6423

Every format

HEX#d3cdf7
RGBrgb(211, 205, 247)
HSLhsl(249, 72%, 89%)
CMYKcmyk(15%, 17%, 0%, 3%)
LABlab(84.1 10.2 -19.8)
LCHlch(84.1 22.3 297.2)
OKLCHoklch(0.867 0.058 291.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.7%
Green80.4%
Blue96.9%

CMYK percentages

Cyan14.6%
Magenta17.0%
Yellow0.0%
Key (black)3.1%

Color previews

#d3cdf7 text on a black background

contrast 13.85:1

Card sample

#d3cdf7 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3cdf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3cdf7 in the Color Lab