Skip to content

#c2ace4

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

RGB
194, 172, 228
HSL
264°, 51%, 78%
CMYK
15, 25, 0, 11
Luminance
0.4658

Every format

HEX#c2ace4
RGBrgb(194, 172, 228)
HSLhsl(264, 51%, 78%)
CMYKcmyk(15%, 25%, 0%, 11%)
LABlab(73.9 18.7 -25.2)
LCHlch(73.9 31.4 306.6)
OKLCHoklch(0.782 0.082 302.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ace4 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#c2ace4 on black: 10.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green67.5%
Blue89.4%

CMYK percentages

Cyan14.9%
Magenta24.6%
Yellow0.0%
Key (black)10.6%

Color previews

#c2ace4 text on a black background

contrast 10.32:1

Card sample

#c2ace4 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2ace4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ace4 in the Color Lab