Skip to content

#d2acef

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

RGB
210, 172, 239
HSL
274°, 68%, 81%
CMYK
12, 28, 0, 6
Luminance
0.4944

Every format

HEX#d2acef
RGBrgb(210, 172, 239)
HSLhsl(274, 68%, 81%)
CMYKcmyk(12%, 28%, 0%, 6%)
LABlab(75.7 26.1 -28.3)
LCHlch(75.7 38.5 312.7)
OKLCHoklch(0.801 0.101 310.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green67.5%
Blue93.7%

CMYK percentages

Cyan12.1%
Magenta28.0%
Yellow0.0%
Key (black)6.3%

Color previews

#d2acef text on a black background

contrast 10.89:1

Card sample

#d2acef text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 172, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 172, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2acef;
background: linear-gradient(135deg, #d2acef, #EFACDF);

Monochromatic scale

Palettes built from #d2acef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2acef in the Color Lab