Skip to content

#d5ccf7

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

RGB
213, 204, 247
HSL
253°, 73%, 88%
CMYK
14, 17, 0, 3
Luminance
0.6405

Every format

HEX#d5ccf7
RGBrgb(213, 204, 247)
HSLhsl(253, 73%, 88%)
CMYKcmyk(14%, 17%, 0%, 3%)
LABlab(84.0 11.4 -20.0)
LCHlch(84.0 23.0 299.6)
OKLCHoklch(0.866 0.060 294.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.5%
Green80.0%
Blue96.9%

CMYK percentages

Cyan13.8%
Magenta17.4%
Yellow0.0%
Key (black)3.1%

Color previews

#d5ccf7 text on a black background

contrast 13.81:1

Card sample

#d5ccf7 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d5ccf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d5ccf7 in the Color Lab