Skip to content

#d2c9fb

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

RGB
210, 201, 251
HSL
251°, 86%, 89%
CMYK
16, 20, 0, 2
Luminance
0.6244

Every format

HEX#d2c9fb
RGBrgb(210, 201, 251)
HSLhsl(251, 86%, 89%)
CMYKcmyk(16%, 20%, 0%, 2%)
LABlab(83.2 12.9 -23.4)
LCHlch(83.2 26.7 298.8)
OKLCHoklch(0.860 0.069 293.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2c9fb on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#d2c9fb on black: 13.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green78.8%
Blue98.4%

CMYK percentages

Cyan16.3%
Magenta19.9%
Yellow0.0%
Key (black)1.6%

Color previews

#d2c9fb text on a black background

contrast 13.49:1

Card sample

#d2c9fb text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2c9fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2c9fb in the Color Lab