Skip to content

#deccfd

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

RGB
222, 204, 253
HSL
262°, 93%, 90%
CMYK
12, 19, 0, 1
Luminance
0.6581

Every format

HEX#deccfd
RGBrgb(222, 204, 253)
HSLhsl(262, 93%, 90%)
CMYKcmyk(12%, 19%, 0%, 1%)
LABlab(84.9 15.4 -21.7)
LCHlch(84.9 26.6 305.4)
OKLCHoklch(0.876 0.069 301.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green80.0%
Blue99.2%

CMYK percentages

Cyan12.3%
Magenta19.4%
Yellow0.0%
Key (black)0.8%

Color previews

#deccfd text on a black background

contrast 14.16:1

Card sample

#deccfd text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #deccfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deccfd in the Color Lab