Skip to content

#dac2f4

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

RGB
218, 194, 244
HSL
269°, 69%, 86%
CMYK
11, 21, 0, 4
Luminance
0.6002

Every format

HEX#dac2f4
RGBrgb(218, 194, 244)
HSLhsl(269, 69%, 86%)
CMYKcmyk(11%, 21%, 0%, 4%)
LABlab(81.8 17.7 -21.6)
LCHlch(81.8 27.9 309.4)
OKLCHoklch(0.850 0.073 306.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green76.1%
Blue95.7%

CMYK percentages

Cyan10.7%
Magenta20.5%
Yellow0.0%
Key (black)4.3%

Color previews

#dac2f4 text on a black background

contrast 13.00:1

Card sample

#dac2f4 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac2f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac2f4 in the Color Lab