Skip to content

#dccafb

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

RGB
220, 202, 251
HSL
262°, 86%, 89%
CMYK
12, 20, 0, 2
Luminance
0.6442

Every format

HEX#dccafb
RGBrgb(220, 202, 251)
HSLhsl(262, 86%, 89%)
CMYKcmyk(12%, 20%, 0%, 2%)
LABlab(84.2 15.5 -21.7)
LCHlch(84.2 26.7 305.4)
OKLCHoklch(0.870 0.069 301.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red86.3%
Green79.2%
Blue98.4%

CMYK percentages

Cyan12.4%
Magenta19.5%
Yellow0.0%
Key (black)1.6%

Color previews

#dccafb text on a black background

contrast 13.88:1

Card sample

#dccafb text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccafb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dccafb in the Color Lab