Skip to content

#dabaf2

a light, vivid violet · warm · closest name: plum

RGB
218, 186, 242
HSL
274°, 68%, 84%
CMYK
10, 23, 0, 5
Luminance
0.5643

Every format

HEX#dabaf2
RGBrgb(218, 186, 242)
HSLhsl(274, 68%, 84%)
CMYKcmyk(10%, 23%, 0%, 5%)
LABlab(79.9 21.6 -23.5)
LCHlch(79.9 31.9 312.6)
OKLCHoklch(0.835 0.084 310.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dabaf2 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#dabaf2 on black: 12.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green72.9%
Blue94.9%

CMYK percentages

Cyan9.9%
Magenta23.1%
Yellow0.0%
Key (black)5.1%

Color previews

#dabaf2 text on a black background

contrast 12.29:1

Card sample

#dabaf2 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dabaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dabaf2 in the Color Lab