Skip to content

#c8afdb

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

RGB
200, 175, 219
HSL
274°, 38%, 77%
CMYK
9, 20, 0, 14
Luminance
0.4805

Every format

HEX#c8afdb
RGBrgb(200, 175, 219)
HSLhsl(274, 38%, 77%)
CMYKcmyk(9%, 20%, 0%, 14%)
LABlab(74.9 17.1 -18.8)
LCHlch(74.9 25.5 312.3)
OKLCHoklch(0.790 0.067 310.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8afdb on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#c8afdb on black: 10.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green68.6%
Blue85.9%

CMYK percentages

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

Color previews

#c8afdb text on a black background

contrast 10.61:1

Card sample

#c8afdb text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8afdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8afdb in the Color Lab