Skip to content

#d2abfb

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

RGB
210, 171, 251
HSL
269°, 91%, 83%
CMYK
16, 32, 0, 2
Luminance
0.4979

Every format

HEX#d2abfb
RGBrgb(210, 171, 251)
HSLhsl(269, 91%, 83%)
CMYKcmyk(16%, 32%, 0%, 2%)
LABlab(75.9 29.1 -34.4)
LCHlch(75.9 45.1 310.2)
OKLCHoklch(0.804 0.117 306.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2abfb on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#d2abfb on black: 10.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green67.1%
Blue98.4%

CMYK percentages

Cyan16.3%
Magenta31.9%
Yellow0.0%
Key (black)1.6%

Color previews

#d2abfb text on a black background

contrast 10.96:1

Card sample

#d2abfb text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 171, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 171, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2abfb;
background: linear-gradient(135deg, #d2abfb, #FBABEF);

Monochromatic scale

Palettes built from #d2abfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2abfb in the Color Lab