Skip to content

#ccccfa

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

RGB
204, 204, 250
HSL
240°, 82%, 89%
CMYK
18, 18, 0, 2
Luminance
0.6293

Every format

HEX#ccccfa
RGBrgb(204, 204, 250)
HSLhsl(240, 82%, 89%)
CMYKcmyk(18%, 18%, 0%, 2%)
LABlab(83.4 9.2 -22.5)
LCHlch(83.4 24.3 292.3)
OKLCHoklch(0.860 0.064 285.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccccfa on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#ccccfa on black: 13.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green80.0%
Blue98.0%

CMYK percentages

Cyan18.4%
Magenta18.4%
Yellow0.0%
Key (black)2.0%

Color previews

#ccccfa text on a black background

contrast 13.59:1

Card sample

#ccccfa text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccccfa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccccfa in the Color Lab