Skip to content

#deccfe

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

RGB
222, 204, 254
HSL
262°, 96%, 90%
CMYK
13, 20, 0, 0
Luminance
0.6587

Every format

HEX#deccfe
RGBrgb(222, 204, 254)
HSLhsl(262, 96%, 90%)
CMYKcmyk(13%, 20%, 0%, 0%)
LABlab(84.9 15.6 -22.2)
LCHlch(84.9 27.1 305.2)
OKLCHoklch(0.876 0.071 301.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green80.0%
Blue99.6%

CMYK percentages

Cyan12.6%
Magenta19.7%
Yellow0.0%
Key (black)0.4%

Color previews

#deccfe text on a black background

contrast 14.17:1

Card sample

#deccfe text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #deccfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deccfe in the Color Lab