Skip to content

#ccacdf

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

RGB
204, 172, 223
HSL
278°, 44%, 78%
CMYK
9, 23, 0, 13
Luminance
0.4767

Every format

HEX#ccacdf
RGBrgb(204, 172, 223)
HSLhsl(278, 44%, 78%)
CMYKcmyk(9%, 23%, 0%, 13%)
LABlab(74.6 20.9 -21.3)
LCHlch(74.6 29.9 314.4)
OKLCHoklch(0.789 0.079 312.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccacdf on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#ccacdf on black: 10.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green67.5%
Blue87.5%

CMYK percentages

Cyan8.5%
Magenta22.9%
Yellow0.0%
Key (black)12.5%

Color previews

#ccacdf text on a black background

contrast 10.53:1

Card sample

#ccacdf text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccacdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccacdf in the Color Lab