Skip to content

#ccabdb

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

RGB
204, 171, 219
HSL
281°, 40%, 77%
CMYK
7, 22, 0, 14
Luminance
0.4708

Every format

HEX#ccabdb
RGBrgb(204, 171, 219)
HSLhsl(281, 40%, 77%)
CMYKcmyk(7%, 22%, 0%, 14%)
LABlab(74.2 20.6 -19.7)
LCHlch(74.2 28.6 316.3)
OKLCHoklch(0.786 0.076 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccabdb on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#ccabdb on black: 10.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.1%
Blue85.9%

CMYK percentages

Cyan6.8%
Magenta21.9%
Yellow0.0%
Key (black)14.1%

Color previews

#ccabdb text on a black background

contrast 10.42:1

Card sample

#ccabdb text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccabdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccabdb in the Color Lab