Skip to content

#dac2f9

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

RGB
218, 194, 249
HSL
266°, 82%, 87%
CMYK
12, 22, 0, 2
Luminance
0.6033

Every format

HEX#dac2f9
RGBrgb(218, 194, 249)
HSLhsl(266, 82%, 87%)
CMYKcmyk(12%, 22%, 0%, 2%)
LABlab(82.0 18.7 -24.0)
LCHlch(82.0 30.4 308.0)
OKLCHoklch(0.852 0.079 304.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green76.1%
Blue97.6%

CMYK percentages

Cyan12.4%
Magenta22.1%
Yellow0.0%
Key (black)2.4%

Color previews

#dac2f9 text on a black background

contrast 13.07:1

Card sample

#dac2f9 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac2f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac2f9 in the Color Lab