Skip to content

#d2cefe

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

RGB
210, 206, 254
HSL
245°, 96%, 90%
CMYK
17, 19, 0, 0
Luminance
0.6500

Every format

HEX#d2cefe
RGBrgb(210, 206, 254)
HSLhsl(245, 96%, 90%)
CMYKcmyk(17%, 19%, 0%, 0%)
LABlab(84.5 10.8 -22.9)
LCHlch(84.5 25.4 295.3)
OKLCHoklch(0.870 0.066 288.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green80.8%
Blue99.6%

CMYK percentages

Cyan17.3%
Magenta18.9%
Yellow0.0%
Key (black)0.4%

Color previews

#d2cefe text on a black background

contrast 14.00:1

Card sample

#d2cefe text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cefe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cefe in the Color Lab