Skip to content

#dcccf6

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

RGB
220, 204, 246
HSL
263°, 70%, 88%
CMYK
11, 17, 0, 4
Luminance
0.6506

Every format

HEX#dcccf6
RGBrgb(220, 204, 246)
HSLhsl(263, 70%, 88%)
CMYKcmyk(11%, 17%, 0%, 4%)
LABlab(84.5 13.4 -18.6)
LCHlch(84.5 22.9 305.7)
OKLCHoklch(0.872 0.060 302.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green80.0%
Blue96.5%

CMYK percentages

Cyan10.6%
Magenta17.1%
Yellow0.0%
Key (black)3.5%

Color previews

#dcccf6 text on a black background

contrast 14.01:1

Card sample

#dcccf6 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcccf6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcccf6 in the Color Lab