Skip to content

#dac2ec

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

RGB
218, 194, 236
HSL
274°, 53%, 84%
CMYK
8, 18, 0, 8
Luminance
0.5955

Every format

HEX#dac2ec
RGBrgb(218, 194, 236)
HSLhsl(274, 53%, 84%)
CMYKcmyk(8%, 18%, 0%, 8%)
LABlab(81.6 16.1 -17.7)
LCHlch(81.6 23.9 312.3)
OKLCHoklch(0.848 0.063 310.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac2ec on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#dac2ec on black: 12.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green76.1%
Blue92.5%

CMYK percentages

Cyan7.6%
Magenta17.8%
Yellow0.0%
Key (black)7.5%

Color previews

#dac2ec text on a black background

contrast 12.91:1

Card sample

#dac2ec text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac2ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac2ec in the Color Lab