Skip to content

#ccc5f7

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

RGB
204, 197, 247
HSL
248°, 76%, 87%
CMYK
17, 20, 0, 3
Luminance
0.5949

Every format

HEX#ccc5f7
RGBrgb(204, 197, 247)
HSLhsl(248, 76%, 87%)
CMYKcmyk(17%, 20%, 0%, 3%)
LABlab(81.6 12.3 -23.7)
LCHlch(81.6 26.7 297.4)
OKLCHoklch(0.846 0.070 291.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green77.3%
Blue96.9%

CMYK percentages

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

Color previews

#ccc5f7 text on a black background

contrast 12.90:1

Card sample

#ccc5f7 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc5f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc5f7 in the Color Lab