Skip to content

#deccef

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

RGB
222, 204, 239
HSL
271°, 52%, 87%
CMYK
7, 15, 0, 6
Luminance
0.6495

Every format

HEX#deccef
RGBrgb(222, 204, 239)
HSLhsl(271, 52%, 87%)
CMYKcmyk(7%, 15%, 0%, 6%)
LABlab(84.5 12.6 -14.9)
LCHlch(84.5 19.6 310.2)
OKLCHoklch(0.871 0.051 308.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#deccef on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#deccef on black: 13.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green80.0%
Blue93.7%

CMYK percentages

Cyan7.1%
Magenta14.6%
Yellow0.0%
Key (black)6.3%

Color previews

#deccef text on a black background

contrast 13.99:1

Card sample

#deccef text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #deccef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #deccef in the Color Lab