Skip to content

#d1cdfd

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

RGB
209, 205, 253
HSL
245°, 92%, 90%
CMYK
17, 19, 0, 1
Luminance
0.6431

Every format

HEX#d1cdfd
RGBrgb(209, 205, 253)
HSLhsl(245, 92%, 90%)
CMYKcmyk(17%, 19%, 0%, 1%)
LABlab(84.1 10.8 -23.0)
LCHlch(84.1 25.4 295.3)
OKLCHoklch(0.867 0.066 288.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#d1cdfd text on a black background

contrast 13.86:1

Card sample

#d1cdfd text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1cdfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1cdfd in the Color Lab