Skip to content

#ccc2e1

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

RGB
204, 194, 225
HSL
259°, 34%, 82%
CMYK
9, 14, 0, 12
Luminance
0.5686

Every format

HEX#ccc2e1
RGBrgb(204, 194, 225)
HSLhsl(259, 34%, 82%)
CMYKcmyk(9%, 14%, 0%, 12%)
LABlab(80.1 9.3 -14.1)
LCHlch(80.1 16.9 303.4)
OKLCHoklch(0.832 0.044 300.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc2e1 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#ccc2e1 on black: 12.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.1%
Blue88.2%

CMYK percentages

Cyan9.3%
Magenta13.8%
Yellow0.0%
Key (black)11.8%

Color previews

#ccc2e1 text on a black background

contrast 12.37:1

Card sample

#ccc2e1 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2e1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc2e1 in the Color Lab