Skip to content

#ccc4f1

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

RGB
204, 196, 241
HSL
251°, 62%, 86%
CMYK
15, 19, 0, 6
Luminance
0.5867

Every format

HEX#ccc4f1
RGBrgb(204, 196, 241)
HSLhsl(251, 62%, 86%)
CMYKcmyk(15%, 19%, 0%, 6%)
LABlab(81.1 11.6 -21.2)
LCHlch(81.1 24.1 298.6)
OKLCHoklch(0.842 0.063 293.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc4f1 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#ccc4f1 on black: 12.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.9%
Blue94.5%

CMYK percentages

Cyan15.4%
Magenta18.7%
Yellow0.0%
Key (black)5.5%

Color previews

#ccc4f1 text on a black background

contrast 12.73:1

Card sample

#ccc4f1 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc4f1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc4f1 in the Color Lab