Skip to content

#d2cffb

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

RGB
210, 207, 251
HSL
244°, 85%, 90%
CMYK
16, 18, 0, 2
Luminance
0.6529

Every format

HEX#d2cffb
RGBrgb(210, 207, 251)
HSLhsl(244, 85%, 90%)
CMYKcmyk(16%, 18%, 0%, 2%)
LABlab(84.6 9.7 -21.1)
LCHlch(84.6 23.2 294.6)
OKLCHoklch(0.871 0.060 288.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green81.2%
Blue98.4%

CMYK percentages

Cyan16.3%
Magenta17.5%
Yellow0.0%
Key (black)1.6%

Color previews

#d2cffb text on a black background

contrast 14.06:1

Card sample

#d2cffb text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cffb in the Color Lab