Skip to content

#d0afdf

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

RGB
208, 175, 223
HSL
281°, 43%, 78%
CMYK
7, 22, 0, 13
Luminance
0.4940

Every format

HEX#d0afdf
RGBrgb(208, 175, 223)
HSLhsl(281, 43%, 78%)
CMYKcmyk(7%, 22%, 0%, 13%)
LABlab(75.7 20.5 -19.7)
LCHlch(75.7 28.4 316.3)
OKLCHoklch(0.798 0.075 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.6%
Green68.6%
Blue87.5%

CMYK percentages

Cyan6.7%
Magenta21.5%
Yellow0.0%
Key (black)12.5%

Color previews

#d0afdf text on a black background

contrast 10.88:1

Card sample

#d0afdf text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0afdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0afdf in the Color Lab