Skip to content

#ccabcc

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

RGB
204, 171, 204
HSL
300°, 24%, 74%
CMYK
0, 16, 0, 20
Luminance
0.4632

Every format

HEX#ccabcc
RGBrgb(204, 171, 204)
HSLhsl(300, 24%, 74%)
CMYKcmyk(0%, 16%, 0%, 20%)
LABlab(73.8 17.7 -12.3)
LCHlch(73.8 21.6 325.3)
OKLCHoklch(0.781 0.059 326.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccabcc on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#ccabcc on black: 10.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.1%
Blue80.0%

CMYK percentages

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

Color previews

#ccabcc text on a black background

contrast 10.26:1

Card sample

#ccabcc text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccabcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccabcc in the Color Lab