Skip to content

#dcccfc

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

RGB
220, 204, 252
HSL
260°, 89%, 89%
CMYK
13, 19, 0, 1
Luminance
0.6543

Every format

HEX#dcccfc
RGBrgb(220, 204, 252)
HSLhsl(260, 89%, 89%)
CMYKcmyk(13%, 19%, 0%, 1%)
LABlab(84.7 14.6 -21.5)
LCHlch(84.7 26.0 304.2)
OKLCHoklch(0.874 0.068 300.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green80.0%
Blue98.8%

CMYK percentages

Cyan12.7%
Magenta19.0%
Yellow0.0%
Key (black)1.2%

Color previews

#dcccfc text on a black background

contrast 14.09:1

Card sample

#dcccfc text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcccfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcccfc in the Color Lab