Skip to content

#decfec

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

RGB
222, 207, 236
HSL
271°, 43%, 87%
CMYK
6, 12, 0, 8
Luminance
0.6621

Every format

HEX#decfec
RGBrgb(222, 207, 236)
HSLhsl(271, 43%, 87%)
CMYKcmyk(6%, 12%, 0%, 8%)
LABlab(85.1 10.5 -12.4)
LCHlch(85.1 16.2 310.2)
OKLCHoklch(0.875 0.043 308.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decfec on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#decfec on black: 14.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green81.2%
Blue92.5%

CMYK percentages

Cyan5.9%
Magenta12.3%
Yellow0.0%
Key (black)7.5%

Color previews

#decfec text on a black background

contrast 14.24:1

Card sample

#decfec text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decfec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decfec in the Color Lab