Skip to content

#d2cbfe

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

RGB
210, 203, 254
HSL
248°, 96%, 90%
CMYK
17, 20, 0, 0
Luminance
0.6357

Every format

HEX#d2cbfe
RGBrgb(210, 203, 254)
HSLhsl(248, 96%, 90%)
CMYKcmyk(17%, 20%, 0%, 0%)
LABlab(83.7 12.4 -24.1)
LCHlch(83.7 27.1 297.3)
OKLCHoklch(0.865 0.070 291.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green79.6%
Blue99.6%

CMYK percentages

Cyan17.3%
Magenta20.1%
Yellow0.0%
Key (black)0.4%

Color previews

#d2cbfe text on a black background

contrast 13.71:1

Card sample

#d2cbfe text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cbfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cbfe in the Color Lab