Skip to content

#ccc7f1

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

RGB
204, 199, 241
HSL
247°, 60%, 86%
CMYK
15, 17, 0, 6
Luminance
0.6004

Every format

HEX#ccc7f1
RGBrgb(204, 199, 241)
HSLhsl(247, 60%, 86%)
CMYKcmyk(15%, 17%, 0%, 6%)
LABlab(81.9 10.0 -20.1)
LCHlch(81.9 22.4 296.4)
OKLCHoklch(0.847 0.058 290.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc7f1 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#ccc7f1 on black: 13.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#ccc7f1 text on a black background

contrast 13.01:1

Card sample

#ccc7f1 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc7f1 in the Color Lab