Skip to content

#deccf5

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

RGB
222, 204, 245
HSL
266°, 67%, 88%
CMYK
9, 17, 0, 4
Luminance
0.6531

Every format

HEX#deccf5
RGBrgb(222, 204, 245)
HSLhsl(266, 67%, 88%)
CMYKcmyk(9%, 17%, 0%, 4%)
LABlab(84.6 13.8 -17.8)
LCHlch(84.6 22.6 307.8)
OKLCHoklch(0.873 0.059 305.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green80.0%
Blue96.1%

CMYK percentages

Cyan9.4%
Magenta16.7%
Yellow0.0%
Key (black)3.9%

Color previews

#deccf5 text on a black background

contrast 14.06:1

Card sample

#deccf5 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #deccf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deccf5 in the Color Lab