Skip to content

#dacef2

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

RGB
218, 206, 242
HSL
260°, 58%, 88%
CMYK
10, 15, 0, 5
Luminance
0.6546

Every format

HEX#dacef2
RGBrgb(218, 206, 242)
HSLhsl(260, 58%, 88%)
CMYKcmyk(10%, 15%, 0%, 5%)
LABlab(84.7 10.9 -16.2)
LCHlch(84.7 19.5 303.9)
OKLCHoklch(0.872 0.051 300.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacef2 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#dacef2 on black: 14.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green80.8%
Blue94.9%

CMYK percentages

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

Color previews

#dacef2 text on a black background

contrast 14.09:1

Card sample

#dacef2 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacef2 in the Color Lab