Skip to content

#dab2eb

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

RGB
218, 178, 235
HSL
282°, 59%, 81%
CMYK
7, 24, 0, 8
Luminance
0.5274

Every format

HEX#dab2eb
RGBrgb(218, 178, 235)
HSLhsl(282, 59%, 81%)
CMYKcmyk(7%, 24%, 0%, 8%)
LABlab(77.7 24.5 -23.0)
LCHlch(77.7 33.6 316.8)
OKLCHoklch(0.818 0.089 315.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dab2eb on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#dab2eb on black: 11.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green69.8%
Blue92.2%

CMYK percentages

Cyan7.2%
Magenta24.3%
Yellow0.0%
Key (black)7.8%

Color previews

#dab2eb text on a black background

contrast 11.55:1

Card sample

#dab2eb text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dab2eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dab2eb in the Color Lab