Skip to content

#ccace5

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

RGB
204, 172, 229
HSL
274°, 52%, 79%
CMYK
11, 25, 0, 10
Luminance
0.4800

Every format

HEX#ccace5
RGBrgb(204, 172, 229)
HSLhsl(274, 52%, 79%)
CMYKcmyk(11%, 25%, 0%, 10%)
LABlab(74.8 22.1 -24.3)
LCHlch(74.8 32.8 312.3)
OKLCHoklch(0.792 0.086 309.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green67.5%
Blue89.8%

CMYK percentages

Cyan10.9%
Magenta24.9%
Yellow0.0%
Key (black)10.2%

Color previews

#ccace5 text on a black background

contrast 10.60:1

Card sample

#ccace5 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccace5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccace5 in the Color Lab