Skip to content

#c2acfd

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

RGB
194, 172, 253
HSL
256°, 95%, 83%
CMYK
23, 32, 0, 1
Luminance
0.4807

Every format

HEX#c2acfd
RGBrgb(194, 172, 253)
HSLhsl(256, 95%, 83%)
CMYKcmyk(23%, 32%, 0%, 1%)
LABlab(74.9 24.3 -37.3)
LCHlch(74.9 44.5 303.1)
OKLCHoklch(0.793 0.115 296.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green67.5%
Blue99.2%

CMYK percentages

Cyan23.3%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#c2acfd text on a black background

contrast 10.61:1

Card sample

#c2acfd text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2acfd in the Color Lab