Skip to content

#d0afdc

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

RGB
208, 175, 220
HSL
284°, 39%, 78%
CMYK
6, 21, 0, 14
Luminance
0.4924

Every format

HEX#d0afdc
RGBrgb(208, 175, 220)
HSLhsl(284, 39%, 78%)
CMYKcmyk(6%, 21%, 0%, 14%)
LABlab(75.6 19.9 -18.2)
LCHlch(75.6 27.0 317.7)
OKLCHoklch(0.797 0.072 317.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0afdc on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#d0afdc on black: 10.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green68.6%
Blue86.3%

CMYK percentages

Cyan5.5%
Magenta20.5%
Yellow0.0%
Key (black)13.7%

Color previews

#d0afdc text on a black background

contrast 10.85:1

Card sample

#d0afdc text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0afdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0afdc in the Color Lab