Skip to content

#d0afdb

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

RGB
208, 175, 219
HSL
285°, 38%, 77%
CMYK
5, 20, 0, 14
Luminance
0.4918

Every format

HEX#d0afdb
RGBrgb(208, 175, 219)
HSLhsl(285, 38%, 77%)
CMYKcmyk(5%, 20%, 0%, 14%)
LABlab(75.6 19.8 -17.7)
LCHlch(75.6 26.5 318.2)
OKLCHoklch(0.797 0.071 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.6%
Green68.6%
Blue85.9%

CMYK percentages

Cyan5.0%
Magenta20.1%
Yellow0.0%
Key (black)14.1%

Color previews

#d0afdb text on a black background

contrast 10.84:1

Card sample

#d0afdb text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0afdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0afdb in the Color Lab