Skip to content

#d2cfe4

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

RGB
210, 207, 228
HSL
249°, 28%, 85%
CMYK
8, 9, 0, 11
Luminance
0.6393

Every format

HEX#d2cfe4
RGBrgb(210, 207, 228)
HSLhsl(249, 28%, 85%)
CMYKcmyk(8%, 9%, 0%, 11%)
LABlab(83.9 5.0 -10.0)
LCHlch(83.9 11.1 296.5)
OKLCHoklch(0.863 0.029 292.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cfe4 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#d2cfe4 on black: 13.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green81.2%
Blue89.4%

CMYK percentages

Cyan7.9%
Magenta9.2%
Yellow0.0%
Key (black)10.6%

Color previews

#d2cfe4 text on a black background

contrast 13.79:1

Card sample

#d2cfe4 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cfe4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cfe4 in the Color Lab