Skip to content

#dab4eb

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

RGB
218, 180, 235
HSL
282°, 58%, 81%
CMYK
7, 23, 0, 8
Luminance
0.5355

Every format

HEX#dab4eb
RGBrgb(218, 180, 235)
HSLhsl(282, 58%, 81%)
CMYKcmyk(7%, 23%, 0%, 8%)
LABlab(78.2 23.4 -22.3)
LCHlch(78.2 32.3 316.5)
OKLCHoklch(0.821 0.086 315.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dab4eb on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#dab4eb on black: 11.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green70.6%
Blue92.2%

CMYK percentages

Cyan7.2%
Magenta23.4%
Yellow0.0%
Key (black)7.8%

Color previews

#dab4eb text on a black background

contrast 11.71:1

Card sample

#dab4eb text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dab4eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dab4eb in the Color Lab