Skip to content

#decef7

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

RGB
222, 206, 247
HSL
263°, 72%, 89%
CMYK
10, 17, 0, 3
Luminance
0.6639

Every format

HEX#decef7
RGBrgb(222, 206, 247)
HSLhsl(263, 72%, 89%)
CMYKcmyk(10%, 17%, 0%, 3%)
LABlab(85.2 13.2 -18.1)
LCHlch(85.2 22.4 306.0)
OKLCHoklch(0.877 0.058 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green80.8%
Blue96.9%

CMYK percentages

Cyan10.1%
Magenta16.6%
Yellow0.0%
Key (black)3.1%

Color previews

#decef7 text on a black background

contrast 14.28:1

Card sample

#decef7 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decef7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decef7 in the Color Lab