Skip to content

#deccf2

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

RGB
222, 204, 242
HSL
268°, 59%, 88%
CMYK
8, 16, 0, 5
Luminance
0.6513

Every format

HEX#deccf2
RGBrgb(222, 204, 242)
HSLhsl(268, 59%, 88%)
CMYKcmyk(8%, 16%, 0%, 5%)
LABlab(84.5 13.2 -16.4)
LCHlch(84.5 21.1 308.9)
OKLCHoklch(0.872 0.055 306.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green80.0%
Blue94.9%

CMYK percentages

Cyan8.3%
Magenta15.7%
Yellow0.0%
Key (black)5.1%

Color previews

#deccf2 text on a black background

contrast 14.03:1

Card sample

#deccf2 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #deccf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deccf2 in the Color Lab