Skip to content

#dccaf2

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

RGB
220, 202, 242
HSL
267°, 61%, 87%
CMYK
9, 17, 0, 5
Luminance
0.6387

Every format

HEX#dccaf2
RGBrgb(220, 202, 242)
HSLhsl(267, 61%, 87%)
CMYKcmyk(9%, 17%, 0%, 5%)
LABlab(83.9 13.6 -17.4)
LCHlch(83.9 22.1 308.1)
OKLCHoklch(0.866 0.058 305.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccaf2 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#dccaf2 on black: 13.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green79.2%
Blue94.9%

CMYK percentages

Cyan9.1%
Magenta16.5%
Yellow0.0%
Key (black)5.1%

Color previews

#dccaf2 text on a black background

contrast 13.77:1

Card sample

#dccaf2 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccaf2 in the Color Lab