Skip to content

#dcdcff

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

RGB
220, 220, 255
HSL
240°, 100%, 93%
CMYK
14, 14, 0, 0
Luminance
0.7362

Every format

HEX#dcdcff
RGBrgb(220, 220, 255)
HSLhsl(240, 100%, 93%)
CMYKcmyk(14%, 14%, 0%, 0%)
LABlab(88.7 6.7 -17.0)
LCHlch(88.7 18.3 291.7)
OKLCHoklch(0.905 0.048 285.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdcff on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#dcdcff on black: 15.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green86.3%
Blue100.0%

CMYK percentages

Cyan13.7%
Magenta13.7%
Yellow0.0%
Key (black)0.0%

Color previews

#dcdcff text on a black background

contrast 15.72:1

Card sample

#dcdcff text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdcff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdcff in the Color Lab