Skip to content

#dacaf0

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

RGB
218, 202, 240
HSL
265°, 56%, 87%
CMYK
9, 16, 0, 6
Luminance
0.6344

Every format

HEX#dacaf0
RGBrgb(218, 202, 240)
HSLhsl(265, 56%, 87%)
CMYKcmyk(9%, 16%, 0%, 6%)
LABlab(83.7 12.6 -16.7)
LCHlch(83.7 20.9 307.1)
OKLCHoklch(0.864 0.055 304.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green79.2%
Blue94.1%

CMYK percentages

Cyan9.2%
Magenta15.8%
Yellow0.0%
Key (black)5.9%

Color previews

#dacaf0 text on a black background

contrast 13.69:1

Card sample

#dacaf0 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacaf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacaf0 in the Color Lab