Skip to content

#ccabeb

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

RGB
204, 171, 235
HSL
271°, 62%, 80%
CMYK
13, 27, 0, 8
Luminance
0.4796

Every format

HEX#ccabeb
RGBrgb(204, 171, 235)
HSLhsl(271, 62%, 80%)
CMYKcmyk(13%, 27%, 0%, 8%)
LABlab(74.8 23.9 -27.6)
LCHlch(74.8 36.5 310.9)
OKLCHoklch(0.792 0.096 307.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green67.1%
Blue92.2%

CMYK percentages

Cyan13.2%
Magenta27.2%
Yellow0.0%
Key (black)7.8%

Color previews

#ccabeb text on a black background

contrast 10.59:1

Card sample

#ccabeb text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccabeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccabeb in the Color Lab