Skip to content

#decffb

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

RGB
222, 207, 251
HSL
261°, 85%, 90%
CMYK
12, 18, 0, 2
Luminance
0.6712

Every format

HEX#decffb
RGBrgb(222, 207, 251)
HSLhsl(261, 85%, 90%)
CMYKcmyk(12%, 18%, 0%, 2%)
LABlab(85.6 13.4 -19.6)
LCHlch(85.6 23.8 304.4)
OKLCHoklch(0.881 0.062 300.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decffb on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#decffb on black: 14.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green81.2%
Blue98.4%

CMYK percentages

Cyan11.6%
Magenta17.5%
Yellow0.0%
Key (black)1.6%

Color previews

#decffb text on a black background

contrast 14.42:1

Card sample

#decffb text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decffb in the Color Lab