Skip to content

#deccf1

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

RGB
222, 204, 241
HSL
269°, 57%, 87%
CMYK
8, 15, 0, 6
Luminance
0.6507

Every format

HEX#deccf1
RGBrgb(222, 204, 241)
HSLhsl(269, 57%, 87%)
CMYKcmyk(8%, 15%, 0%, 6%)
LABlab(84.5 13.0 -15.9)
LCHlch(84.5 20.6 309.3)
OKLCHoklch(0.872 0.054 307.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green80.0%
Blue94.5%

CMYK percentages

Cyan7.9%
Magenta15.4%
Yellow0.0%
Key (black)5.5%

Color previews

#deccf1 text on a black background

contrast 14.01:1

Card sample

#deccf1 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #deccf1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deccf1 in the Color Lab