Skip to content

#ccc7fd

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

RGB
204, 199, 253
HSL
246°, 93%, 89%
CMYK
19, 21, 0, 1
Luminance
0.6078

Every format

HEX#ccc7fd
RGBrgb(204, 199, 253)
HSLhsl(246, 93%, 89%)
CMYKcmyk(19%, 21%, 0%, 1%)
LABlab(82.3 12.5 -25.9)
LCHlch(82.3 28.7 295.9)
OKLCHoklch(0.852 0.075 288.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc7fd on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#ccc7fd on black: 13.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan19.4%
Magenta21.3%
Yellow0.0%
Key (black)0.8%

Color previews

#ccc7fd text on a black background

contrast 13.16:1

Card sample

#ccc7fd text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc7fd in the Color Lab