Skip to content

#dab2fd

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

RGB
218, 178, 253
HSL
272°, 95%, 85%
CMYK
14, 30, 0, 1
Luminance
0.5384

Every format

HEX#dab2fd
RGBrgb(218, 178, 253)
HSLhsl(272, 95%, 85%)
CMYKcmyk(14%, 30%, 0%, 1%)
LABlab(78.4 28.2 -31.7)
LCHlch(78.4 42.4 311.6)
OKLCHoklch(0.825 0.111 308.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dab2fd on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#dab2fd on black: 11.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green69.8%
Blue99.2%

CMYK percentages

Cyan13.8%
Magenta29.6%
Yellow0.0%
Key (black)0.8%

Color previews

#dab2fd text on a black background

contrast 11.77:1

Card sample

#dab2fd text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dab2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dab2fd in the Color Lab