Skip to content

#deccfc

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

RGB
222, 204, 252
HSL
263°, 89%, 89%
CMYK
12, 19, 0, 1
Luminance
0.6574

Every format

HEX#deccfc
RGBrgb(222, 204, 252)
HSLhsl(263, 89%, 89%)
CMYKcmyk(12%, 19%, 0%, 1%)
LABlab(84.9 15.2 -21.2)
LCHlch(84.9 26.1 305.6)
OKLCHoklch(0.875 0.068 302.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#deccfc on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#deccfc on black: 14.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green80.0%
Blue98.8%

CMYK percentages

Cyan11.9%
Magenta19.0%
Yellow0.0%
Key (black)1.2%

Color previews

#deccfc text on a black background

contrast 14.15:1

Card sample

#deccfc text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #deccfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deccfc in the Color Lab