Skip to content

#dcccf5

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

RGB
220, 204, 245
HSL
263°, 67%, 88%
CMYK
10, 17, 0, 4
Luminance
0.6499

Every format

HEX#dcccf5
RGBrgb(220, 204, 245)
HSLhsl(263, 67%, 88%)
CMYKcmyk(10%, 17%, 0%, 4%)
LABlab(84.5 13.2 -18.1)
LCHlch(84.5 22.4 306.1)
OKLCHoklch(0.871 0.058 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcccf5 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#dcccf5 on black: 14.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green80.0%
Blue96.1%

CMYK percentages

Cyan10.2%
Magenta16.7%
Yellow0.0%
Key (black)3.9%

Color previews

#dcccf5 text on a black background

contrast 14.00:1

Card sample

#dcccf5 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcccf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcccf5 in the Color Lab