Skip to content

#c9acfd

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

RGB
201, 172, 253
HSL
262°, 95%, 83%
CMYK
21, 32, 0, 1
Luminance
0.4901

Every format

HEX#c9acfd
RGBrgb(201, 172, 253)
HSLhsl(262, 95%, 83%)
CMYKcmyk(21%, 32%, 0%, 1%)
LABlab(75.5 26.4 -36.3)
LCHlch(75.5 44.9 306.0)
OKLCHoklch(0.799 0.116 300.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9acfd on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#c9acfd on black: 10.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green67.5%
Blue99.2%

CMYK percentages

Cyan20.6%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#c9acfd text on a black background

contrast 10.80:1

Card sample

#c9acfd text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c9acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9acfd in the Color Lab