Skip to content

#deccf6

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

RGB
222, 204, 246
HSL
266°, 70%, 88%
CMYK
10, 17, 0, 4
Luminance
0.6537

Every format

HEX#deccf6
RGBrgb(222, 204, 246)
HSLhsl(266, 70%, 88%)
CMYKcmyk(10%, 17%, 0%, 4%)
LABlab(84.7 14.0 -18.3)
LCHlch(84.7 23.1 307.4)
OKLCHoklch(0.873 0.060 304.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan9.8%
Magenta17.1%
Yellow0.0%
Key (black)3.5%

Color previews

#deccf6 text on a black background

contrast 14.07:1

Card sample

#deccf6 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #deccf6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deccf6 in the Color Lab