Skip to content

#dcccfb

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

RGB
220, 204, 251
HSL
260°, 86%, 89%
CMYK
12, 19, 0, 2
Luminance
0.6537

Every format

HEX#dcccfb
RGBrgb(220, 204, 251)
HSLhsl(260, 86%, 89%)
CMYKcmyk(12%, 19%, 0%, 2%)
LABlab(84.7 14.4 -21.0)
LCHlch(84.7 25.5 304.4)
OKLCHoklch(0.873 0.066 300.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green80.0%
Blue98.4%

CMYK percentages

Cyan12.4%
Magenta18.7%
Yellow0.0%
Key (black)1.6%

Color previews

#dcccfb text on a black background

contrast 14.07:1

Card sample

#dcccfb text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcccfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcccfb in the Color Lab