Skip to content

#ccc4e2

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

RGB
204, 196, 226
HSL
256°, 34%, 83%
CMYK
10, 13, 0, 11
Luminance
0.5781

Every format

HEX#ccc4e2
RGBrgb(204, 196, 226)
HSLhsl(256, 34%, 83%)
CMYKcmyk(10%, 13%, 0%, 11%)
LABlab(80.6 8.5 -13.9)
LCHlch(80.6 16.3 301.4)
OKLCHoklch(0.836 0.042 297.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc4e2 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#ccc4e2 on black: 12.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.9%
Blue88.6%

CMYK percentages

Cyan9.7%
Magenta13.3%
Yellow0.0%
Key (black)11.4%

Color previews

#ccc4e2 text on a black background

contrast 12.56:1

Card sample

#ccc4e2 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc4e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc4e2 in the Color Lab