Skip to content

#ccc4f9

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

RGB
204, 196, 249
HSL
249°, 82%, 87%
CMYK
18, 21, 0, 2
Luminance
0.5916

Every format

HEX#ccc4f9
RGBrgb(204, 196, 249)
HSLhsl(249, 82%, 87%)
CMYKcmyk(18%, 21%, 0%, 2%)
LABlab(81.4 13.3 -25.1)
LCHlch(81.4 28.4 297.9)
OKLCHoklch(0.845 0.074 291.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green76.9%
Blue97.6%

CMYK percentages

Cyan18.1%
Magenta21.3%
Yellow0.0%
Key (black)2.4%

Color previews

#ccc4f9 text on a black background

contrast 12.83:1

Card sample

#ccc4f9 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc4f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc4f9 in the Color Lab