Skip to content

#ccc0e2

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

RGB
204, 192, 226
HSL
261°, 37%, 82%
CMYK
10, 15, 0, 11
Luminance
0.5603

Every format

HEX#ccc0e2
RGBrgb(204, 192, 226)
HSLhsl(261, 37%, 82%)
CMYKcmyk(10%, 15%, 0%, 11%)
LABlab(79.6 10.6 -15.4)
LCHlch(79.6 18.7 304.6)
OKLCHoklch(0.828 0.049 301.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc0e2 on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#ccc0e2 on black: 12.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green75.3%
Blue88.6%

CMYK percentages

Cyan9.7%
Magenta15.0%
Yellow0.0%
Key (black)11.4%

Color previews

#ccc0e2 text on a black background

contrast 12.21:1

Card sample

#ccc0e2 text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc0e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc0e2 in the Color Lab