Skip to content

#dac3f4

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

RGB
218, 195, 244
HSL
268°, 69%, 86%
CMYK
11, 20, 0, 4
Luminance
0.6047

Every format

HEX#dac3f4
RGBrgb(218, 195, 244)
HSLhsl(268, 69%, 86%)
CMYKcmyk(11%, 20%, 0%, 4%)
LABlab(82.1 17.1 -21.2)
LCHlch(82.1 27.3 309.0)
OKLCHoklch(0.852 0.071 306.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#dac3f4 text on a black background

contrast 13.09:1

Card sample

#dac3f4 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac3f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac3f4 in the Color Lab