Skip to content

#ccc2ed

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

RGB
204, 194, 237
HSL
254°, 54%, 85%
CMYK
14, 18, 0, 7
Luminance
0.5754

Every format

HEX#ccc2ed
RGBrgb(204, 194, 237)
HSLhsl(254, 54%, 85%)
CMYKcmyk(14%, 18%, 0%, 7%)
LABlab(80.5 11.8 -20.0)
LCHlch(80.5 23.2 300.5)
OKLCHoklch(0.836 0.060 295.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green76.1%
Blue92.9%

CMYK percentages

Cyan13.9%
Magenta18.1%
Yellow0.0%
Key (black)7.1%

Color previews

#ccc2ed text on a black background

contrast 12.51:1

Card sample

#ccc2ed text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc2ed in the Color Lab