Skip to content

#ccc6f2

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

RGB
204, 198, 242
HSL
248°, 63%, 86%
CMYK
16, 18, 0, 5
Luminance
0.5964

Every format

HEX#ccc6f2
RGBrgb(204, 198, 242)
HSLhsl(248, 63%, 86%)
CMYKcmyk(16%, 18%, 0%, 5%)
LABlab(81.6 10.7 -20.9)
LCHlch(81.6 23.5 297.1)
OKLCHoklch(0.846 0.061 291.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc6f2 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#ccc6f2 on black: 12.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green77.6%
Blue94.9%

CMYK percentages

Cyan15.7%
Magenta18.2%
Yellow0.0%
Key (black)5.1%

Color previews

#ccc6f2 text on a black background

contrast 12.93:1

Card sample

#ccc6f2 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc6f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc6f2 in the Color Lab