Skip to content

#dac3eb

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

RGB
218, 195, 235
HSL
275°, 50%, 84%
CMYK
7, 17, 0, 8
Luminance
0.5993

Every format

HEX#dac3eb
RGBrgb(218, 195, 235)
HSLhsl(275, 50%, 84%)
CMYKcmyk(7%, 17%, 0%, 8%)
LABlab(81.8 15.4 -16.8)
LCHlch(81.8 22.8 312.4)
OKLCHoklch(0.849 0.060 310.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac3eb on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#dac3eb on black: 12.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green76.5%
Blue92.2%

CMYK percentages

Cyan7.2%
Magenta17.0%
Yellow0.0%
Key (black)7.8%

Color previews

#dac3eb text on a black background

contrast 12.99:1

Card sample

#dac3eb text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac3eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac3eb in the Color Lab