Skip to content

#dccaf5

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

RGB
220, 202, 245
HSL
265°, 68%, 88%
CMYK
10, 18, 0, 4
Luminance
0.6405

Every format

HEX#dccaf5
RGBrgb(220, 202, 245)
HSLhsl(265, 68%, 88%)
CMYKcmyk(10%, 18%, 0%, 4%)
LABlab(84.0 14.2 -18.8)
LCHlch(84.0 23.6 307.1)
OKLCHoklch(0.867 0.062 304.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green79.2%
Blue96.1%

CMYK percentages

Cyan10.2%
Magenta17.6%
Yellow0.0%
Key (black)3.9%

Color previews

#dccaf5 text on a black background

contrast 13.81:1

Card sample

#dccaf5 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccaf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccaf5 in the Color Lab