Skip to content

#ccaacc

a light, soft magenta / pink · warm · closest name: plum

RGB
204, 170, 204
HSL
300°, 25%, 73%
CMYK
0, 17, 0, 20
Luminance
0.4595

Every format

HEX#ccaacc
RGBrgb(204, 170, 204)
HSLhsl(300, 25%, 73%)
CMYKcmyk(0%, 17%, 0%, 20%)
LABlab(73.5 18.3 -12.6)
LCHlch(73.5 22.2 325.3)
OKLCHoklch(0.779 0.061 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccaacc on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#ccaacc on black: 10.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green66.7%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta16.7%
Yellow0.0%
Key (black)20.0%

Color previews

#ccaacc text on a black background

contrast 10.19:1

Card sample

#ccaacc text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccaacc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccaacc in the Color Lab