Skip to content

#ccc5e2

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

RGB
204, 197, 226
HSL
255°, 33%, 83%
CMYK
10, 13, 0, 11
Luminance
0.5826

Every format

HEX#ccc5e2
RGBrgb(204, 197, 226)
HSLhsl(255, 33%, 83%)
CMYKcmyk(10%, 13%, 0%, 11%)
LABlab(80.9 7.9 -13.5)
LCHlch(80.9 15.7 300.5)
OKLCHoklch(0.838 0.041 296.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc5e2 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#ccc5e2 on black: 12.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green77.3%
Blue88.6%

CMYK percentages

Cyan9.7%
Magenta12.8%
Yellow0.0%
Key (black)11.4%

Color previews

#ccc5e2 text on a black background

contrast 12.65:1

Card sample

#ccc5e2 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc5e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc5e2 in the Color Lab