Skip to content

#d3afdf

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

RGB
211, 175, 223
HSL
285°, 43%, 78%
CMYK
5, 22, 0, 13
Luminance
0.4984

Every format

HEX#d3afdf
RGBrgb(211, 175, 223)
HSLhsl(285, 43%, 78%)
CMYKcmyk(5%, 22%, 0%, 13%)
LABlab(76.0 21.5 -19.2)
LCHlch(76.0 28.9 318.2)
OKLCHoklch(0.801 0.077 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3afdf on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#d3afdf on black: 10.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green68.6%
Blue87.5%

CMYK percentages

Cyan5.4%
Magenta21.5%
Yellow0.0%
Key (black)12.5%

Color previews

#d3afdf text on a black background

contrast 10.97:1

Card sample

#d3afdf text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3afdf in the Color Lab