Skip to content

#c9a5d8

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

RGB
201, 165, 216
HSL
282°, 40%, 75%
CMYK
7, 24, 0, 15
Luminance
0.4429

Every format

HEX#c9a5d8
RGBrgb(201, 165, 216)
HSLhsl(282, 40%, 75%)
CMYKcmyk(7%, 24%, 0%, 15%)
LABlab(72.4 22.3 -20.9)
LCHlch(72.4 30.6 316.9)
OKLCHoklch(0.771 0.081 315.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9a5d8 on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#c9a5d8 on black: 9.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green64.7%
Blue84.7%

CMYK percentages

Cyan6.9%
Magenta23.6%
Yellow0.0%
Key (black)15.3%

Color previews

#c9a5d8 text on a black background

contrast 9.86:1

Card sample

#c9a5d8 text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c9a5d8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9a5d8 in the Color Lab