Skip to content

#d9cdfd

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

RGB
217, 205, 253
HSL
255°, 92%, 90%
CMYK
14, 19, 0, 1
Luminance
0.6551

Every format

HEX#d9cdfd
RGBrgb(217, 205, 253)
HSLhsl(255, 92%, 90%)
CMYKcmyk(14%, 19%, 0%, 1%)
LABlab(84.7 13.3 -22.0)
LCHlch(84.7 25.7 301.2)
OKLCHoklch(0.874 0.067 296.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d9cdfd on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#d9cdfd on black: 14.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green80.4%
Blue99.2%

CMYK percentages

Cyan14.2%
Magenta19.0%
Yellow0.0%
Key (black)0.8%

Color previews

#d9cdfd text on a black background

contrast 14.10:1

Card sample

#d9cdfd text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d9cdfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d9cdfd in the Color Lab