Skip to content

#decdf1

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

RGB
222, 205, 241
HSL
268°, 56%, 88%
CMYK
8, 15, 0, 6
Luminance
0.6554

Every format

HEX#decdf1
RGBrgb(222, 205, 241)
HSLhsl(268, 56%, 88%)
CMYKcmyk(8%, 15%, 0%, 6%)
LABlab(84.8 12.5 -15.5)
LCHlch(84.8 19.9 308.8)
OKLCHoklch(0.873 0.052 306.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green80.4%
Blue94.5%

CMYK percentages

Cyan7.9%
Magenta14.9%
Yellow0.0%
Key (black)5.5%

Color previews

#decdf1 text on a black background

contrast 14.11:1

Card sample

#decdf1 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 205, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 205, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #decdf1;
background: linear-gradient(135deg, #decdf1, #F1CDEC);

Monochromatic scale

Palettes built from #decdf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decdf1 in the Color Lab