Skip to content

#dac7ec

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

RGB
218, 199, 236
HSL
271°, 49%, 85%
CMYK
8, 16, 0, 8
Luminance
0.6181

Every format

HEX#dac7ec
RGBrgb(218, 199, 236)
HSLhsl(271, 49%, 85%)
CMYKcmyk(8%, 16%, 0%, 8%)
LABlab(82.8 13.4 -15.8)
LCHlch(82.8 20.8 310.3)
OKLCHoklch(0.857 0.054 308.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac7ec on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#dac7ec on black: 13.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green78.0%
Blue92.5%

CMYK percentages

Cyan7.6%
Magenta15.7%
Yellow0.0%
Key (black)7.5%

Color previews

#dac7ec text on a black background

contrast 13.36:1

Card sample

#dac7ec text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(218, 199, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 199, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dac7ec;
background: linear-gradient(135deg, #dac7ec, #ECC7E5);

Monochromatic scale

Palettes built from #dac7ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac7ec in the Color Lab