Skip to content

#ccc8fb

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

RGB
204, 200, 251
HSL
245°, 86%, 88%
CMYK
19, 20, 0, 2
Luminance
0.6111

Every format

HEX#ccc8fb
RGBrgb(204, 200, 251)
HSLhsl(245, 86%, 88%)
CMYKcmyk(19%, 20%, 0%, 2%)
LABlab(82.4 11.6 -24.5)
LCHlch(82.4 27.1 295.3)
OKLCHoklch(0.853 0.071 288.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc8fb on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#ccc8fb on black: 13.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green78.4%
Blue98.4%

CMYK percentages

Cyan18.7%
Magenta20.3%
Yellow0.0%
Key (black)1.6%

Color previews

#ccc8fb text on a black background

contrast 13.22:1

Card sample

#ccc8fb text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc8fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc8fb in the Color Lab