Skip to content

#ccc8fd

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

RGB
204, 200, 253
HSL
245°, 93%, 89%
CMYK
19, 21, 0, 1
Luminance
0.6124

Every format

HEX#ccc8fd
RGBrgb(204, 200, 253)
HSLhsl(245, 93%, 89%)
CMYKcmyk(19%, 21%, 0%, 1%)
LABlab(82.5 12.0 -25.5)
LCHlch(82.5 28.2 295.2)
OKLCHoklch(0.854 0.073 288.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green78.4%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta20.9%
Yellow0.0%
Key (black)0.8%

Color previews

#ccc8fd text on a black background

contrast 13.25:1

Card sample

#ccc8fd text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc8fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc8fd in the Color Lab