Skip to content

#ccace7

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

RGB
204, 172, 231
HSL
273°, 55%, 79%
CMYK
12, 26, 0, 9
Luminance
0.4811

Every format

HEX#ccace7
RGBrgb(204, 172, 231)
HSLhsl(273, 55%, 79%)
CMYKcmyk(12%, 26%, 0%, 9%)
LABlab(74.9 22.5 -25.3)
LCHlch(74.9 33.8 311.7)
OKLCHoklch(0.792 0.089 309.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green67.5%
Blue90.6%

CMYK percentages

Cyan11.7%
Magenta25.5%
Yellow0.0%
Key (black)9.4%

Color previews

#ccace7 text on a black background

contrast 10.62:1

Card sample

#ccace7 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccace7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccace7 in the Color Lab