Skip to content

#dac9fc

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

RGB
218, 201, 252
HSL
260°, 90%, 89%
CMYK
14, 20, 0, 1
Luminance
0.6371

Every format

HEX#dac9fc
RGBrgb(218, 201, 252)
HSLhsl(260, 90%, 89%)
CMYKcmyk(14%, 20%, 0%, 1%)
LABlab(83.8 15.6 -22.9)
LCHlch(83.8 27.6 304.3)
OKLCHoklch(0.866 0.072 300.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac9fc on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#dac9fc on black: 13.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green78.8%
Blue98.8%

CMYK percentages

Cyan13.5%
Magenta20.2%
Yellow0.0%
Key (black)1.2%

Color previews

#dac9fc text on a black background

contrast 13.74:1

Card sample

#dac9fc text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac9fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac9fc in the Color Lab