Skip to content

#decff2

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

RGB
222, 207, 242
HSL
266°, 57%, 88%
CMYK
8, 15, 0, 5
Luminance
0.6657

Every format

HEX#decff2
RGBrgb(222, 207, 242)
HSLhsl(266, 57%, 88%)
CMYKcmyk(8%, 15%, 0%, 5%)
LABlab(85.3 11.6 -15.3)
LCHlch(85.3 19.2 307.3)
OKLCHoklch(0.877 0.050 304.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green81.2%
Blue94.9%

CMYK percentages

Cyan8.3%
Magenta14.5%
Yellow0.0%
Key (black)5.1%

Color previews

#decff2 text on a black background

contrast 14.31:1

Card sample

#decff2 text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decff2 in the Color Lab