Skip to content

#ccc8f1

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

RGB
204, 200, 241
HSL
246°, 59%, 87%
CMYK
15, 17, 0, 6
Luminance
0.6050

Every format

HEX#ccc8f1
RGBrgb(204, 200, 241)
HSLhsl(246, 59%, 87%)
CMYKcmyk(15%, 17%, 0%, 6%)
LABlab(82.1 9.4 -19.7)
LCHlch(82.1 21.8 295.6)
OKLCHoklch(0.849 0.057 289.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc8f1 on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#ccc8f1 on black: 13.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.4%
Blue94.5%

CMYK percentages

Cyan15.4%
Magenta17.0%
Yellow0.0%
Key (black)5.5%

Color previews

#ccc8f1 text on a black background

contrast 13.10:1

Card sample

#ccc8f1 text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc8f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc8f1 in the Color Lab