Skip to content

#d0afeb

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

RGB
208, 175, 235
HSL
273°, 60%, 80%
CMYK
12, 26, 0, 8
Luminance
0.5007

Every format

HEX#d0afeb
RGBrgb(208, 175, 235)
HSLhsl(273, 60%, 80%)
CMYKcmyk(12%, 26%, 0%, 8%)
LABlab(76.1 23.0 -25.5)
LCHlch(76.1 34.4 312.0)
OKLCHoklch(0.803 0.090 309.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d0afeb on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#d0afeb on black: 11.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green68.6%
Blue92.2%

CMYK percentages

Cyan11.5%
Magenta25.5%
Yellow0.0%
Key (black)7.8%

Color previews

#d0afeb text on a black background

contrast 11.01:1

Card sample

#d0afeb text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0afeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0afeb in the Color Lab