Skip to content

#ccc6e2

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

RGB
204, 198, 226
HSL
253°, 33%, 83%
CMYK
10, 12, 0, 11
Luminance
0.5872

Every format

HEX#ccc6e2
RGBrgb(204, 198, 226)
HSLhsl(253, 33%, 83%)
CMYKcmyk(10%, 12%, 0%, 11%)
LABlab(81.1 7.4 -13.1)
LCHlch(81.1 15.1 299.4)
OKLCHoklch(0.840 0.039 295.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc6e2 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#ccc6e2 on black: 12.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#ccc6e2 text on a black background

contrast 12.74:1

Card sample

#ccc6e2 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc6e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc6e2 in the Color Lab