Skip to content

#deccf7

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

RGB
222, 204, 247
HSL
265°, 73%, 88%
CMYK
10, 17, 0, 3
Luminance
0.6543

Every format

HEX#deccf7
RGBrgb(222, 204, 247)
HSLhsl(265, 73%, 88%)
CMYKcmyk(10%, 17%, 0%, 3%)
LABlab(84.7 14.2 -18.8)
LCHlch(84.7 23.6 307.1)
OKLCHoklch(0.874 0.061 304.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan10.1%
Magenta17.4%
Yellow0.0%
Key (black)3.1%

Color previews

#deccf7 text on a black background

contrast 14.09:1

Card sample

#deccf7 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #deccf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deccf7 in the Color Lab