Skip to content

#ccc2e2

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

RGB
204, 194, 226
HSL
259°, 36%, 82%
CMYK
10, 14, 0, 11
Luminance
0.5691

Every format

HEX#ccc2e2
RGBrgb(204, 194, 226)
HSLhsl(259, 36%, 82%)
CMYKcmyk(10%, 14%, 0%, 11%)
LABlab(80.1 9.6 -14.6)
LCHlch(80.1 17.5 303.1)
OKLCHoklch(0.832 0.045 299.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green76.1%
Blue88.6%

CMYK percentages

Cyan9.7%
Magenta14.2%
Yellow0.0%
Key (black)11.4%

Color previews

#ccc2e2 text on a black background

contrast 12.38:1

Card sample

#ccc2e2 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc2e2 in the Color Lab