Skip to content

#c2acf0

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

RGB
194, 172, 240
HSL
259°, 69%, 81%
CMYK
19, 28, 0, 6
Luminance
0.4727

Every format

HEX#c2acf0
RGBrgb(194, 172, 240)
HSLhsl(259, 69%, 81%)
CMYKcmyk(19%, 28%, 0%, 6%)
LABlab(74.4 21.4 -31.0)
LCHlch(74.4 37.7 304.5)
OKLCHoklch(0.787 0.098 299.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2acf0 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#c2acf0 on black: 10.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green67.5%
Blue94.1%

CMYK percentages

Cyan19.2%
Magenta28.3%
Yellow0.0%
Key (black)5.9%

Color previews

#c2acf0 text on a black background

contrast 10.45:1

Card sample

#c2acf0 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2acf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2acf0 in the Color Lab