Skip to content

#dac4f2

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

RGB
218, 196, 242
HSL
269°, 64%, 86%
CMYK
10, 19, 0, 5
Luminance
0.6080

Every format

HEX#dac4f2
RGBrgb(218, 196, 242)
HSLhsl(269, 64%, 86%)
CMYKcmyk(10%, 19%, 0%, 5%)
LABlab(82.3 16.2 -19.9)
LCHlch(82.3 25.6 309.2)
OKLCHoklch(0.853 0.067 306.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac4f2 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#dac4f2 on black: 13.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green76.9%
Blue94.9%

CMYK percentages

Cyan9.9%
Magenta19.0%
Yellow0.0%
Key (black)5.1%

Color previews

#dac4f2 text on a black background

contrast 13.16:1

Card sample

#dac4f2 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac4f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac4f2 in the Color Lab