Skip to content

#d2afda

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

RGB
210, 175, 218
HSL
289°, 37%, 77%
CMYK
4, 20, 0, 15
Luminance
0.4942

Every format

HEX#d2afda
RGBrgb(210, 175, 218)
HSLhsl(289, 37%, 77%)
CMYKcmyk(4%, 20%, 0%, 15%)
LABlab(75.7 20.2 -16.9)
LCHlch(75.7 26.4 320.1)
OKLCHoklch(0.798 0.071 320.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2afda on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#d2afda on black: 10.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green68.6%
Blue85.5%

CMYK percentages

Cyan3.7%
Magenta19.7%
Yellow0.0%
Key (black)14.5%

Color previews

#d2afda text on a black background

contrast 10.88:1

Card sample

#d2afda text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2afda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2afda in the Color Lab