Skip to content

#dccafc

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

RGB
220, 202, 252
HSL
262°, 89%, 89%
CMYK
13, 20, 0, 1
Luminance
0.6448

Every format

HEX#dccafc
RGBrgb(220, 202, 252)
HSLhsl(262, 89%, 89%)
CMYKcmyk(13%, 20%, 0%, 1%)
LABlab(84.2 15.7 -22.2)
LCHlch(84.2 27.2 305.2)
OKLCHoklch(0.870 0.071 301.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green79.2%
Blue98.8%

CMYK percentages

Cyan12.7%
Magenta19.8%
Yellow0.0%
Key (black)1.2%

Color previews

#dccafc text on a black background

contrast 13.90:1

Card sample

#dccafc text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccafc in the Color Lab