Skip to content

#ccccfe

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

RGB
204, 204, 254
HSL
240°, 96%, 90%
CMYK
20, 20, 0, 0
Luminance
0.6318

Every format

HEX#ccccfe
RGBrgb(204, 204, 254)
HSLhsl(240, 96%, 90%)
CMYKcmyk(20%, 20%, 0%, 0%)
LABlab(83.5 10.1 -24.4)
LCHlch(83.5 26.4 292.4)
OKLCHoklch(0.862 0.069 284.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccccfe on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#ccccfe on black: 13.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green80.0%
Blue99.6%

CMYK percentages

Cyan19.7%
Magenta19.7%
Yellow0.0%
Key (black)0.4%

Color previews

#ccccfe text on a black background

contrast 13.64:1

Card sample

#ccccfe text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccccfe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccccfe in the Color Lab