Skip to content

#d1ccfd

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

RGB
209, 204, 253
HSL
246°, 93%, 90%
CMYK
17, 19, 0, 1
Luminance
0.6383

Every format

HEX#d1ccfd
RGBrgb(209, 204, 253)
HSLhsl(246, 93%, 90%)
CMYKcmyk(17%, 19%, 0%, 1%)
LABlab(83.9 11.4 -23.3)
LCHlch(83.9 26.0 296.0)
OKLCHoklch(0.865 0.068 289.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d1ccfd on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#d1ccfd on black: 13.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#d1ccfd text on a black background

contrast 13.77:1

Card sample

#d1ccfd text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1ccfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1ccfd in the Color Lab