Skip to content

#c4afdb

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

RGB
196, 175, 219
HSL
269°, 38%, 77%
CMYK
11, 20, 0, 14
Luminance
0.4751

Every format

HEX#c4afdb
RGBrgb(196, 175, 219)
HSLhsl(269, 38%, 77%)
CMYKcmyk(11%, 20%, 0%, 14%)
LABlab(74.5 15.8 -19.4)
LCHlch(74.5 25.0 309.2)
OKLCHoklch(0.786 0.065 306.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4afdb on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#c4afdb on black: 10.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green68.6%
Blue85.9%

CMYK percentages

Cyan10.5%
Magenta20.1%
Yellow0.0%
Key (black)14.1%

Color previews

#c4afdb text on a black background

contrast 10.50:1

Card sample

#c4afdb text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c4afdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4afdb in the Color Lab