Skip to content

#ccc4f7

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

RGB
204, 196, 247
HSL
249°, 76%, 87%
CMYK
17, 21, 0, 3
Luminance
0.5903

Every format

HEX#ccc4f7
RGBrgb(204, 196, 247)
HSLhsl(249, 76%, 87%)
CMYKcmyk(17%, 21%, 0%, 3%)
LABlab(81.3 12.8 -24.1)
LCHlch(81.3 27.3 298.1)
OKLCHoklch(0.844 0.071 292.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green76.9%
Blue96.9%

CMYK percentages

Cyan17.4%
Magenta20.6%
Yellow0.0%
Key (black)3.1%

Color previews

#ccc4f7 text on a black background

contrast 12.81:1

Card sample

#ccc4f7 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc4f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc4f7 in the Color Lab