Skip to content

#d2cdfe

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

RGB
210, 205, 254
HSL
246°, 96%, 90%
CMYK
17, 19, 0, 0
Luminance
0.6452

Every format

HEX#d2cdfe
RGBrgb(210, 205, 254)
HSLhsl(246, 96%, 90%)
CMYKcmyk(17%, 19%, 0%, 0%)
LABlab(84.2 11.4 -23.3)
LCHlch(84.2 25.9 296.0)
OKLCHoklch(0.868 0.068 289.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cdfe on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#d2cdfe on black: 13.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan17.3%
Magenta19.3%
Yellow0.0%
Key (black)0.4%

Color previews

#d2cdfe text on a black background

contrast 13.90:1

Card sample

#d2cdfe text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cdfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cdfe in the Color Lab