Skip to content

#d3afdc

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

RGB
211, 175, 220
HSL
288°, 39%, 78%
CMYK
4, 21, 0, 14
Luminance
0.4968

Every format

HEX#d3afdc
RGBrgb(211, 175, 220)
HSLhsl(288, 39%, 78%)
CMYKcmyk(4%, 21%, 0%, 14%)
LABlab(75.9 20.9 -17.8)
LCHlch(75.9 27.4 319.7)
OKLCHoklch(0.800 0.074 319.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d3afdc on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#d3afdc on black: 10.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green68.6%
Blue86.3%

CMYK percentages

Cyan4.1%
Magenta20.5%
Yellow0.0%
Key (black)13.7%

Color previews

#d3afdc text on a black background

contrast 10.94:1

Card sample

#d3afdc text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d3afdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d3afdc in the Color Lab