Skip to content

#c9afdb

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

RGB
201, 175, 219
HSL
276°, 38%, 77%
CMYK
8, 20, 0, 14
Luminance
0.4819

Every format

HEX#c9afdb
RGBrgb(201, 175, 219)
HSLhsl(276, 38%, 77%)
CMYKcmyk(8%, 20%, 0%, 14%)
LABlab(75.0 17.5 -18.7)
LCHlch(75.0 25.6 313.1)
OKLCHoklch(0.791 0.067 311.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9afdb on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#c9afdb on black: 10.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green68.6%
Blue85.9%

CMYK percentages

Cyan8.2%
Magenta20.1%
Yellow0.0%
Key (black)14.1%

Color previews

#c9afdb text on a black background

contrast 10.64:1

Card sample

#c9afdb text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c9afdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9afdb in the Color Lab