Skip to content

#decfef

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

RGB
222, 207, 239
HSL
268°, 50%, 88%
CMYK
7, 13, 0, 6
Luminance
0.6639

Every format

HEX#decfef
RGBrgb(222, 207, 239)
HSLhsl(268, 50%, 88%)
CMYKcmyk(7%, 13%, 0%, 6%)
LABlab(85.2 11.0 -13.8)
LCHlch(85.2 17.7 308.6)
OKLCHoklch(0.876 0.046 306.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green81.2%
Blue93.7%

CMYK percentages

Cyan7.1%
Magenta13.4%
Yellow0.0%
Key (black)6.3%

Color previews

#decfef text on a black background

contrast 14.28:1

Card sample

#decfef text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decfef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decfef in the Color Lab