Skip to content

#cccfe2

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

RGB
204, 207, 226
HSL
232°, 28%, 84%
CMYK
10, 8, 0, 11
Luminance
0.6295

Every format

HEX#cccfe2
RGBrgb(204, 207, 226)
HSLhsl(232, 28%, 84%)
CMYKcmyk(10%, 8%, 0%, 11%)
LABlab(83.4 2.6 -9.7)
LCHlch(83.4 10.1 285.1)
OKLCHoklch(0.858 0.026 278.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccfe2 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#cccfe2 on black: 13.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green81.2%
Blue88.6%

CMYK percentages

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

Color previews

#cccfe2 text on a black background

contrast 13.59:1

Card sample

#cccfe2 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccfe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cccfe2 in the Color Lab