Skip to content

#d3a5df

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

RGB
211, 165, 223
HSL
288°, 48%, 76%
CMYK
5, 26, 0, 13
Luminance
0.4609

Every format

HEX#d3a5df
RGBrgb(211, 165, 223)
HSLhsl(288, 48%, 76%)
CMYKcmyk(5%, 26%, 0%, 13%)
LABlab(73.6 27.0 -22.8)
LCHlch(73.6 35.3 319.8)
OKLCHoklch(0.783 0.095 319.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3a5df on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#d3a5df on black: 10.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green64.7%
Blue87.5%

CMYK percentages

Cyan5.4%
Magenta26.0%
Yellow0.0%
Key (black)12.5%

Color previews

#d3a5df text on a black background

contrast 10.22:1

Card sample

#d3a5df text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3a5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3a5df in the Color Lab