Skip to content

#d6cff2

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

RGB
214, 207, 242
HSL
252°, 57%, 88%
CMYK
12, 15, 0, 5
Luminance
0.6533

Every format

HEX#d6cff2
RGBrgb(214, 207, 242)
HSLhsl(252, 57%, 88%)
CMYKcmyk(12%, 15%, 0%, 5%)
LABlab(84.7 9.1 -16.3)
LCHlch(84.7 18.6 299.1)
OKLCHoklch(0.871 0.048 294.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.9%
Green81.2%
Blue94.9%

CMYK percentages

Cyan11.6%
Magenta14.5%
Yellow0.0%
Key (black)5.1%

Color previews

#d6cff2 text on a black background

contrast 14.07:1

Card sample

#d6cff2 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d6cff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d6cff2 in the Color Lab