Skip to content

#dcccfe

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

RGB
220, 204, 254
HSL
259°, 96%, 90%
CMYK
13, 20, 0, 0
Luminance
0.6556

Every format

HEX#dcccfe
RGBrgb(220, 204, 254)
HSLhsl(259, 96%, 90%)
CMYKcmyk(13%, 20%, 0%, 0%)
LABlab(84.8 15.0 -22.4)
LCHlch(84.8 27.0 303.8)
OKLCHoklch(0.874 0.070 299.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcccfe on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#dcccfe on black: 14.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green80.0%
Blue99.6%

CMYK percentages

Cyan13.4%
Magenta19.7%
Yellow0.0%
Key (black)0.4%

Color previews

#dcccfe text on a black background

contrast 14.11:1

Card sample

#dcccfe text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcccfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcccfe in the Color Lab