Skip to content

#d2cdfd

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

RGB
210, 205, 253
HSL
246°, 92%, 90%
CMYK
17, 19, 0, 1
Luminance
0.6446

Every format

HEX#d2cdfd
RGBrgb(210, 205, 253)
HSLhsl(246, 92%, 90%)
CMYKcmyk(17%, 19%, 0%, 1%)
LABlab(84.2 11.2 -22.9)
LCHlch(84.2 25.4 296.0)
OKLCHoklch(0.868 0.066 289.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green80.4%
Blue99.2%

CMYK percentages

Cyan17.0%
Magenta19.0%
Yellow0.0%
Key (black)0.8%

Color previews

#d2cdfd text on a black background

contrast 13.89:1

Card sample

#d2cdfd text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cdfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cdfd in the Color Lab