Skip to content

#ccc5f9

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

RGB
204, 197, 249
HSL
248°, 81%, 88%
CMYK
18, 21, 0, 2
Luminance
0.5961

Every format

HEX#ccc5f9
RGBrgb(204, 197, 249)
HSLhsl(248, 81%, 88%)
CMYKcmyk(18%, 21%, 0%, 2%)
LABlab(81.6 12.8 -24.7)
LCHlch(81.6 27.8 297.3)
OKLCHoklch(0.846 0.072 290.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc5f9 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#ccc5f9 on black: 12.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green77.3%
Blue97.6%

CMYK percentages

Cyan18.1%
Magenta20.9%
Yellow0.0%
Key (black)2.4%

Color previews

#ccc5f9 text on a black background

contrast 12.92:1

Card sample

#ccc5f9 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc5f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc5f9 in the Color Lab