Skip to content

#d4b9df

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

RGB
212, 185, 223
HSL
283°, 37%, 80%
CMYK
5, 17, 0, 13
Luminance
0.5402

Every format

HEX#d4b9df
RGBrgb(212, 185, 223)
HSLhsl(283, 37%, 80%)
CMYKcmyk(5%, 17%, 0%, 13%)
LABlab(78.5 16.4 -15.4)
LCHlch(78.5 22.6 316.8)
OKLCHoklch(0.821 0.060 316.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4b9df on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#d4b9df on black: 11.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green72.5%
Blue87.5%

CMYK percentages

Cyan4.9%
Magenta17.0%
Yellow0.0%
Key (black)12.5%

Color previews

#d4b9df text on a black background

contrast 11.80:1

Card sample

#d4b9df text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4b9df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4b9df in the Color Lab