Skip to content

#ccabec

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

RGB
204, 171, 236
HSL
271°, 63%, 80%
CMYK
14, 28, 0, 8
Luminance
0.4802

Every format

HEX#ccabec
RGBrgb(204, 171, 236)
HSLhsl(271, 63%, 80%)
CMYKcmyk(14%, 28%, 0%, 8%)
LABlab(74.8 24.1 -28.1)
LCHlch(74.8 37.0 310.7)
OKLCHoklch(0.792 0.097 307.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green67.1%
Blue92.5%

CMYK percentages

Cyan13.6%
Magenta27.5%
Yellow0.0%
Key (black)7.5%

Color previews

#ccabec text on a black background

contrast 10.60:1

Card sample

#ccabec text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccabec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccabec in the Color Lab