Skip to content

#d8c9ff

a pale, electric violet · warm · closest name: plum

RGB
216, 201, 255
HSL
257°, 100%, 89%
CMYK
15, 21, 0, 0
Luminance
0.6359

Every format

HEX#d8c9ff
RGBrgb(216, 201, 255)
HSLhsl(257, 100%, 89%)
CMYKcmyk(15%, 21%, 0%, 0%)
LABlab(83.8 15.6 -24.6)
LCHlch(83.8 29.1 302.4)
OKLCHoklch(0.866 0.075 297.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d8c9ff on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#d8c9ff on black: 13.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.7%
Green78.8%
Blue100.0%

CMYK percentages

Cyan15.3%
Magenta21.2%
Yellow0.0%
Key (black)0.0%

Color previews

#d8c9ff text on a black background

contrast 13.72:1

Card sample

#d8c9ff text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(216, 201, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(216, 201, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d8c9ff;
background: linear-gradient(135deg, #d8c9ff, #FCC9FF);

Monochromatic scale

Palettes built from #d8c9ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d8c9ff in the Color Lab