Skip to content

#dac5df

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

RGB
218, 197, 223
HSL
289°, 29%, 82%
CMYK
2, 12, 0, 13
Luminance
0.6017

Every format

HEX#dac5df
RGBrgb(218, 197, 223)
HSLhsl(289, 29%, 82%)
CMYKcmyk(2%, 12%, 0%, 13%)
LABlab(81.9 12.0 -10.2)
LCHlch(81.9 15.8 319.6)
OKLCHoklch(0.849 0.042 319.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac5df on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#dac5df on black: 13.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green77.3%
Blue87.5%

CMYK percentages

Cyan2.2%
Magenta11.7%
Yellow0.0%
Key (black)12.5%

Color previews

#dac5df text on a black background

contrast 13.03:1

Card sample

#dac5df text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac5df in the Color Lab