Skip to content

#dcccf2

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

RGB
220, 204, 242
HSL
265°, 59%, 88%
CMYK
9, 16, 0, 5
Luminance
0.6481

Every format

HEX#dcccf2
RGBrgb(220, 204, 242)
HSLhsl(265, 59%, 88%)
CMYKcmyk(9%, 16%, 0%, 5%)
LABlab(84.4 12.6 -16.6)
LCHlch(84.4 20.9 307.1)
OKLCHoklch(0.870 0.054 304.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green80.0%
Blue94.9%

CMYK percentages

Cyan9.1%
Magenta15.7%
Yellow0.0%
Key (black)5.1%

Color previews

#dcccf2 text on a black background

contrast 13.96:1

Card sample

#dcccf2 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcccf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcccf2 in the Color Lab