Skip to content

#d2cff4

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

RGB
210, 207, 244
HSL
245°, 63%, 88%
CMYK
14, 15, 0, 4
Luminance
0.6486

Every format

HEX#d2cff4
RGBrgb(210, 207, 244)
HSLhsl(245, 63%, 88%)
CMYKcmyk(14%, 15%, 0%, 4%)
LABlab(84.4 8.2 -17.8)
LCHlch(84.4 19.6 294.8)
OKLCHoklch(0.869 0.051 289.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green81.2%
Blue95.7%

CMYK percentages

Cyan13.9%
Magenta15.2%
Yellow0.0%
Key (black)4.3%

Color previews

#d2cff4 text on a black background

contrast 13.97:1

Card sample

#d2cff4 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cff4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cff4 in the Color Lab