Skip to content

#d0cdf7

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

RGB
208, 205, 247
HSL
244°, 72%, 89%
CMYK
16, 17, 0, 3
Luminance
0.6379

Every format

HEX#d0cdf7
RGBrgb(208, 205, 247)
HSLhsl(244, 72%, 89%)
CMYKcmyk(16%, 17%, 0%, 3%)
LABlab(83.8 9.3 -20.2)
LCHlch(83.8 22.2 294.7)
OKLCHoklch(0.864 0.058 288.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.6%
Green80.4%
Blue96.9%

CMYK percentages

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

Color previews

#d0cdf7 text on a black background

contrast 13.76:1

Card sample

#d0cdf7 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0cdf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0cdf7 in the Color Lab