Skip to content

#d3b2fa

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

RGB
211, 178, 250
HSL
268°, 88%, 84%
CMYK
16, 29, 0, 2
Luminance
0.5259

Every format

HEX#d3b2fa
RGBrgb(211, 178, 250)
HSLhsl(268, 88%, 84%)
CMYKcmyk(16%, 29%, 0%, 2%)
LABlab(77.6 25.4 -31.3)
LCHlch(77.6 40.3 309.1)
OKLCHoklch(0.817 0.105 305.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.7%
Green69.8%
Blue98.0%

CMYK percentages

Cyan15.6%
Magenta28.8%
Yellow0.0%
Key (black)2.0%

Color previews

#d3b2fa text on a black background

contrast 11.52:1

Card sample

#d3b2fa text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3b2fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3b2fa in the Color Lab