Skip to content

#ccc2ea

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

RGB
204, 194, 234
HSL
255°, 49%, 84%
CMYK
13, 17, 0, 8
Luminance
0.5736

Every format

HEX#ccc2ea
RGBrgb(204, 194, 234)
HSLhsl(255, 49%, 84%)
CMYKcmyk(13%, 17%, 0%, 8%)
LABlab(80.4 11.2 -18.6)
LCHlch(80.4 21.7 301.1)
OKLCHoklch(0.835 0.056 296.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc2ea on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#ccc2ea on black: 12.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.1%
Blue91.8%

CMYK percentages

Cyan12.8%
Magenta17.1%
Yellow0.0%
Key (black)8.2%

Color previews

#ccc2ea text on a black background

contrast 12.47:1

Card sample

#ccc2ea text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2ea

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc2ea in the Color Lab