Skip to content

#d4cef9

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

RGB
212, 206, 249
HSL
248°, 78%, 89%
CMYK
15, 17, 0, 2
Luminance
0.6498

Every format

HEX#d4cef9
RGBrgb(212, 206, 249)
HSLhsl(248, 78%, 89%)
CMYKcmyk(15%, 17%, 0%, 2%)
LABlab(84.5 10.4 -20.3)
LCHlch(84.5 22.8 297.1)
OKLCHoklch(0.870 0.059 291.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4cef9 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#d4cef9 on black: 14.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green80.8%
Blue97.6%

CMYK percentages

Cyan14.9%
Magenta17.3%
Yellow0.0%
Key (black)2.4%

Color previews

#d4cef9 text on a black background

contrast 14.00:1

Card sample

#d4cef9 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(212, 206, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 206, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d4cef9;
background: linear-gradient(135deg, #d4cef9, #F1CEF9);

Monochromatic scale

Palettes built from #d4cef9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4cef9 in the Color Lab