Skip to content

#d0a2df

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

RGB
208, 162, 223
HSL
285°, 49%, 76%
CMYK
7, 27, 0, 13
Luminance
0.4458

Every format

HEX#d0a2df
RGBrgb(208, 162, 223)
HSLhsl(285, 49%, 76%)
CMYKcmyk(7%, 27%, 0%, 13%)
LABlab(72.6 27.6 -24.4)
LCHlch(72.6 36.8 318.6)
OKLCHoklch(0.775 0.098 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0a2df on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#d0a2df on black: 9.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green63.5%
Blue87.5%

CMYK percentages

Cyan6.7%
Magenta27.4%
Yellow0.0%
Key (black)12.5%

Color previews

#d0a2df text on a black background

contrast 9.92:1

Card sample

#d0a2df text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0a2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0a2df in the Color Lab