Skip to content

#ccace9

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

RGB
204, 172, 233
HSL
272°, 58%, 79%
CMYK
12, 26, 0, 9
Luminance
0.4823

Every format

HEX#ccace9
RGBrgb(204, 172, 233)
HSLhsl(272, 58%, 79%)
CMYKcmyk(12%, 26%, 0%, 9%)
LABlab(75.0 22.9 -26.2)
LCHlch(75.0 34.9 311.1)
OKLCHoklch(0.793 0.091 308.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccace9 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#ccace9 on black: 10.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.5%
Blue91.4%

CMYK percentages

Cyan12.4%
Magenta26.2%
Yellow0.0%
Key (black)8.6%

Color previews

#ccace9 text on a black background

contrast 10.65:1

Card sample

#ccace9 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccace9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccace9 in the Color Lab