Skip to content

#cca2db

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

RGB
204, 162, 219
HSL
284°, 44%, 75%
CMYK
7, 26, 0, 14
Luminance
0.4379

Every format

HEX#cca2db
RGBrgb(204, 162, 219)
HSLhsl(284, 44%, 75%)
CMYKcmyk(7%, 26%, 0%, 14%)
LABlab(72.1 25.6 -23.0)
LCHlch(72.1 34.4 318.0)
OKLCHoklch(0.769 0.092 317.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cca2db on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#cca2db on black: 9.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green63.5%
Blue85.9%

CMYK percentages

Cyan6.8%
Magenta26.0%
Yellow0.0%
Key (black)14.1%

Color previews

#cca2db text on a black background

contrast 9.76:1

Card sample

#cca2db text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cca2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cca2db in the Color Lab