Skip to content

#ccace1

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

RGB
204, 172, 225
HSL
276°, 47%, 78%
CMYK
9, 24, 0, 12
Luminance
0.4778

Every format

HEX#ccace1
RGBrgb(204, 172, 225)
HSLhsl(276, 47%, 78%)
CMYKcmyk(9%, 24%, 0%, 12%)
LABlab(74.7 21.3 -22.3)
LCHlch(74.7 30.9 313.6)
OKLCHoklch(0.790 0.081 311.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccace1 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#ccace1 on black: 10.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.5%
Blue88.2%

CMYK percentages

Cyan9.3%
Magenta23.6%
Yellow0.0%
Key (black)11.8%

Color previews

#ccace1 text on a black background

contrast 10.56:1

Card sample

#ccace1 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccace1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccace1 in the Color Lab