Skip to content

#dab1ff

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

RGB
218, 177, 255
HSL
272°, 100%, 85%
CMYK
15, 31, 0, 0
Luminance
0.5357

Every format

HEX#dab1ff
RGBrgb(218, 177, 255)
HSLhsl(272, 100%, 85%)
CMYKcmyk(15%, 31%, 0%, 0%)
LABlab(78.2 29.1 -33.0)
LCHlch(78.2 44.0 311.4)
OKLCHoklch(0.824 0.115 308.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.5%
Green69.4%
Blue100.0%

CMYK percentages

Cyan14.5%
Magenta30.6%
Yellow0.0%
Key (black)0.0%

Color previews

#dab1ff text on a black background

contrast 11.71:1

Card sample

#dab1ff text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dab1ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dab1ff in the Color Lab