Skip to content

#d5afdf

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

RGB
213, 175, 223
HSL
288°, 43%, 78%
CMYK
5, 22, 0, 13
Luminance
0.5013

Every format

HEX#d5afdf
RGBrgb(213, 175, 223)
HSLhsl(288, 43%, 78%)
CMYKcmyk(5%, 22%, 0%, 13%)
LABlab(76.2 22.2 -18.9)
LCHlch(76.2 29.2 319.5)
OKLCHoklch(0.803 0.078 319.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d5afdf on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#d5afdf on black: 11.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.5%
Green68.6%
Blue87.5%

CMYK percentages

Cyan4.5%
Magenta21.5%
Yellow0.0%
Key (black)12.5%

Color previews

#d5afdf text on a black background

contrast 11.03:1

Card sample

#d5afdf text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d5afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d5afdf in the Color Lab