Skip to content

#ccaaee

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

RGB
204, 170, 238
HSL
270°, 67%, 80%
CMYK
14, 29, 0, 7
Luminance
0.4776

Every format

HEX#ccaaee
RGBrgb(204, 170, 238)
HSLhsl(270, 67%, 80%)
CMYKcmyk(14%, 29%, 0%, 7%)
LABlab(74.7 25.1 -29.4)
LCHlch(74.7 38.6 310.5)
OKLCHoklch(0.791 0.101 307.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green66.7%
Blue93.3%

CMYK percentages

Cyan14.3%
Magenta28.6%
Yellow0.0%
Key (black)6.7%

Color previews

#ccaaee text on a black background

contrast 10.55:1

Card sample

#ccaaee text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccaaee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccaaee in the Color Lab