Skip to content

#c8afd4

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

RGB
200, 175, 212
HSL
281°, 30%, 76%
CMYK
6, 18, 0, 17
Luminance
0.4769

Every format

HEX#c8afd4
RGBrgb(200, 175, 212)
HSLhsl(281, 30%, 76%)
CMYKcmyk(6%, 18%, 0%, 17%)
LABlab(74.6 15.7 -15.3)
LCHlch(74.6 22.0 315.7)
OKLCHoklch(0.787 0.058 314.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8afd4 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#c8afd4 on black: 10.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green68.6%
Blue83.1%

CMYK percentages

Cyan5.7%
Magenta17.5%
Yellow0.0%
Key (black)16.9%

Color previews

#c8afd4 text on a black background

contrast 10.54:1

Card sample

#c8afd4 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8afd4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8afd4 in the Color Lab