Skip to content

#dccaf0

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

RGB
220, 202, 240
HSL
268°, 56%, 87%
CMYK
8, 16, 0, 6
Luminance
0.6375

Every format

HEX#dccaf0
RGBrgb(220, 202, 240)
HSLhsl(268, 56%, 87%)
CMYKcmyk(8%, 16%, 0%, 6%)
LABlab(83.8 13.3 -16.4)
LCHlch(83.8 21.1 308.9)
OKLCHoklch(0.866 0.055 306.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dccaf0 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#dccaf0 on black: 13.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green79.2%
Blue94.1%

CMYK percentages

Cyan8.3%
Magenta15.8%
Yellow0.0%
Key (black)5.9%

Color previews

#dccaf0 text on a black background

contrast 13.75:1

Card sample

#dccaf0 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccaf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccaf0 in the Color Lab