Skip to content

#d7acef

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

RGB
215, 172, 239
HSL
279°, 68%, 81%
CMYK
10, 28, 0, 6
Luminance
0.5018

Every format

HEX#d7acef
RGBrgb(215, 172, 239)
HSLhsl(279, 68%, 81%)
CMYKcmyk(10%, 28%, 0%, 6%)
LABlab(76.2 27.6 -27.5)
LCHlch(76.2 39.0 315.1)
OKLCHoklch(0.805 0.103 313.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7acef on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#d7acef on black: 11.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green67.5%
Blue93.7%

CMYK percentages

Cyan10.0%
Magenta28.0%
Yellow0.0%
Key (black)6.3%

Color previews

#d7acef text on a black background

contrast 11.04:1

Card sample

#d7acef text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7acef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7acef in the Color Lab