Skip to content

#ccc6f5

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

RGB
204, 198, 245
HSL
248°, 70%, 87%
CMYK
17, 19, 0, 4
Luminance
0.5982

Every format

HEX#ccc6f5
RGBrgb(204, 198, 245)
HSLhsl(248, 70%, 87%)
CMYKcmyk(17%, 19%, 0%, 4%)
LABlab(81.7 11.3 -22.4)
LCHlch(81.7 25.1 296.9)
OKLCHoklch(0.847 0.065 290.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green77.6%
Blue96.1%

CMYK percentages

Cyan16.7%
Magenta19.2%
Yellow0.0%
Key (black)3.9%

Color previews

#ccc6f5 text on a black background

contrast 12.96:1

Card sample

#ccc6f5 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc6f5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc6f5 in the Color Lab