Skip to content

#d3b2fd

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

RGB
211, 178, 253
HSL
266°, 95%, 85%
CMYK
17, 30, 0, 1
Luminance
0.5278

Every format

HEX#d3b2fd
RGBrgb(211, 178, 253)
HSLhsl(266, 95%, 85%)
CMYKcmyk(17%, 30%, 0%, 1%)
LABlab(77.8 26.1 -32.7)
LCHlch(77.8 41.8 308.5)
OKLCHoklch(0.818 0.109 304.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.7%
Green69.8%
Blue99.2%

CMYK percentages

Cyan16.6%
Magenta29.6%
Yellow0.0%
Key (black)0.8%

Color previews

#d3b2fd text on a black background

contrast 11.56:1

Card sample

#d3b2fd text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3b2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3b2fd in the Color Lab