Skip to content

#dcacf2

a light, vivid violet · warm · closest name: plum

RGB
220, 172, 242
HSL
281°, 73%, 81%
CMYK
9, 29, 0, 5
Luminance
0.5113

Every format

HEX#dcacf2
RGBrgb(220, 172, 242)
HSLhsl(281, 73%, 81%)
CMYKcmyk(9%, 29%, 0%, 5%)
LABlab(76.8 29.8 -28.2)
LCHlch(76.8 41.0 316.5)
OKLCHoklch(0.811 0.109 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcacf2 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#dcacf2 on black: 11.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green67.5%
Blue94.9%

CMYK percentages

Cyan9.1%
Magenta28.9%
Yellow0.0%
Key (black)5.1%

Color previews

#dcacf2 text on a black background

contrast 11.23:1

Card sample

#dcacf2 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcacf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcacf2 in the Color Lab