Skip to content

#dedcfb

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

RGB
222, 220, 251
HSL
244°, 80%, 92%
CMYK
12, 12, 0, 2
Luminance
0.7368

Every format

HEX#dedcfb
RGBrgb(222, 220, 251)
HSLhsl(244, 80%, 92%)
CMYKcmyk(12%, 12%, 0%, 2%)
LABlab(88.8 6.6 -14.8)
LCHlch(88.8 16.2 293.9)
OKLCHoklch(0.906 0.042 288.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dedcfb on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#dedcfb on black: 15.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green86.3%
Blue98.4%

CMYK percentages

Cyan11.6%
Magenta12.4%
Yellow0.0%
Key (black)1.6%

Color previews

#dedcfb text on a black background

contrast 15.74:1

Card sample

#dedcfb text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dedcfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dedcfb in the Color Lab