Skip to content

#decce2

a light, soft violet · warm · closest name: lavender

RGB
222, 204, 226
HSL
289°, 28%, 84%
CMYK
2, 10, 0, 11
Luminance
0.6421

Every format

HEX#decce2
RGBrgb(222, 204, 226)
HSLhsl(289, 28%, 84%)
CMYKcmyk(2%, 10%, 0%, 11%)
LABlab(84.1 10.2 -8.6)
LCHlch(84.1 13.3 319.8)
OKLCHoklch(0.867 0.036 320.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decce2 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#decce2 on black: 13.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green80.0%
Blue88.6%

CMYK percentages

Cyan1.8%
Magenta9.7%
Yellow0.0%
Key (black)11.4%

Color previews

#decce2 text on a black background

contrast 13.84:1

Card sample

#decce2 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decce2 in the Color Lab