Skip to content

#d7aaeb

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

RGB
215, 170, 235
HSL
282°, 62%, 79%
CMYK
9, 28, 0, 8
Luminance
0.4919

Every format

HEX#d7aaeb
RGBrgb(215, 170, 235)
HSLhsl(282, 62%, 79%)
CMYKcmyk(9%, 28%, 0%, 8%)
LABlab(75.6 27.9 -26.3)
LCHlch(75.6 38.4 316.7)
OKLCHoklch(0.800 0.102 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red84.3%
Green66.7%
Blue92.2%

CMYK percentages

Cyan8.5%
Magenta27.7%
Yellow0.0%
Key (black)7.8%

Color previews

#d7aaeb text on a black background

contrast 10.84:1

Card sample

#d7aaeb text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7aaeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7aaeb in the Color Lab