Skip to content

#c8afda

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

RGB
200, 175, 218
HSL
275°, 37%, 77%
CMYK
8, 20, 0, 15
Luminance
0.4800

Every format

HEX#c8afda
RGBrgb(200, 175, 218)
HSLhsl(275, 37%, 77%)
CMYKcmyk(8%, 20%, 0%, 15%)
LABlab(74.8 16.9 -18.3)
LCHlch(74.8 24.9 312.7)
OKLCHoklch(0.789 0.066 311.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red78.4%
Green68.6%
Blue85.5%

CMYK percentages

Cyan8.3%
Magenta19.7%
Yellow0.0%
Key (black)14.5%

Color previews

#c8afda text on a black background

contrast 10.60:1

Card sample

#c8afda text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8afda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8afda in the Color Lab