Skip to content

#dcccf0

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

RGB
220, 204, 240
HSL
267°, 55%, 87%
CMYK
8, 15, 0, 6
Luminance
0.6469

Every format

HEX#dcccf0
RGBrgb(220, 204, 240)
HSLhsl(267, 55%, 87%)
CMYKcmyk(8%, 15%, 0%, 6%)
LABlab(84.3 12.2 -15.7)
LCHlch(84.3 19.9 307.8)
OKLCHoklch(0.870 0.052 305.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcccf0 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#dcccf0 on black: 13.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green80.0%
Blue94.1%

CMYK percentages

Cyan8.3%
Magenta15.0%
Yellow0.0%
Key (black)5.9%

Color previews

#dcccf0 text on a black background

contrast 13.94:1

Card sample

#dcccf0 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcccf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcccf0 in the Color Lab