Skip to content

#d2b2df

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

RGB
210, 178, 223
HSL
283°, 41%, 79%
CMYK
6, 20, 0, 13
Luminance
0.5087

Every format

HEX#d2b2df
RGBrgb(210, 178, 223)
HSLhsl(283, 41%, 79%)
CMYKcmyk(6%, 20%, 0%, 13%)
LABlab(76.6 19.6 -18.3)
LCHlch(76.6 26.8 317.0)
OKLCHoklch(0.806 0.071 316.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2b2df on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#d2b2df on black: 11.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green69.8%
Blue87.5%

CMYK percentages

Cyan5.8%
Magenta20.2%
Yellow0.0%
Key (black)12.5%

Color previews

#d2b2df text on a black background

contrast 11.17:1

Card sample

#d2b2df text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2b2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2b2df in the Color Lab