Skip to content

#dac5f2

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

RGB
218, 197, 242
HSL
268°, 63%, 86%
CMYK
10, 19, 0, 5
Luminance
0.6125

Every format

HEX#dac5f2
RGBrgb(218, 197, 242)
HSLhsl(268, 63%, 86%)
CMYKcmyk(10%, 19%, 0%, 5%)
LABlab(82.5 15.7 -19.5)
LCHlch(82.5 25.0 308.8)
OKLCHoklch(0.855 0.065 306.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac5f2 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#dac5f2 on black: 13.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green77.3%
Blue94.9%

CMYK percentages

Cyan9.9%
Magenta18.6%
Yellow0.0%
Key (black)5.1%

Color previews

#dac5f2 text on a black background

contrast 13.25:1

Card sample

#dac5f2 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac5f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac5f2 in the Color Lab