Skip to content

#dcccf7

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

RGB
220, 204, 247
HSL
262°, 73%, 88%
CMYK
11, 17, 0, 3
Luminance
0.6512

Every format

HEX#dcccf7
RGBrgb(220, 204, 247)
HSLhsl(262, 73%, 88%)
CMYKcmyk(11%, 17%, 0%, 3%)
LABlab(84.5 13.6 -19.1)
LCHlch(84.5 23.4 305.5)
OKLCHoklch(0.872 0.061 302.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green80.0%
Blue96.9%

CMYK percentages

Cyan10.9%
Magenta17.4%
Yellow0.0%
Key (black)3.1%

Color previews

#dcccf7 text on a black background

contrast 14.02:1

Card sample

#dcccf7 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcccf7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcccf7 in the Color Lab