Skip to content

#ccc4f8

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

RGB
204, 196, 248
HSL
249°, 79%, 87%
CMYK
18, 21, 0, 3
Luminance
0.5909

Every format

HEX#ccc4f8
RGBrgb(204, 196, 248)
HSLhsl(249, 79%, 87%)
CMYKcmyk(18%, 21%, 0%, 3%)
LABlab(81.3 13.1 -24.6)
LCHlch(81.3 27.8 298.0)
OKLCHoklch(0.844 0.072 291.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc4f8 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#ccc4f8 on black: 12.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green76.9%
Blue97.3%

CMYK percentages

Cyan17.7%
Magenta21.0%
Yellow0.0%
Key (black)2.7%

Color previews

#ccc4f8 text on a black background

contrast 12.82:1

Card sample

#ccc4f8 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc4f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc4f8 in the Color Lab