Skip to content

#daccfb

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

RGB
218, 204, 251
HSL
258°, 86%, 89%
CMYK
13, 19, 0, 2
Luminance
0.6506

Every format

HEX#daccfb
RGBrgb(218, 204, 251)
HSLhsl(258, 86%, 89%)
CMYKcmyk(13%, 19%, 0%, 2%)
LABlab(84.5 13.8 -21.3)
LCHlch(84.5 25.3 302.9)
OKLCHoklch(0.872 0.066 298.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#daccfb on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#daccfb on black: 14.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green80.0%
Blue98.4%

CMYK percentages

Cyan13.1%
Magenta18.7%
Yellow0.0%
Key (black)1.6%

Color previews

#daccfb text on a black background

contrast 14.01:1

Card sample

#daccfb text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #daccfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #daccfb in the Color Lab