Skip to content

#d2cff8

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

RGB
210, 207, 248
HSL
244°, 75%, 89%
CMYK
15, 17, 0, 3
Luminance
0.6510

Every format

HEX#d2cff8
RGBrgb(210, 207, 248)
HSLhsl(244, 75%, 89%)
CMYKcmyk(15%, 17%, 0%, 3%)
LABlab(84.5 9.0 -19.7)
LCHlch(84.5 21.7 294.6)
OKLCHoklch(0.870 0.056 288.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cff8 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#d2cff8 on black: 14.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green81.2%
Blue97.3%

CMYK percentages

Cyan15.3%
Magenta16.5%
Yellow0.0%
Key (black)2.7%

Color previews

#d2cff8 text on a black background

contrast 14.02:1

Card sample

#d2cff8 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cff8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cff8 in the Color Lab