Skip to content

#ccc1fd

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

RGB
204, 193, 253
HSL
251°, 94%, 88%
CMYK
19, 24, 0, 1
Luminance
0.5807

Every format

HEX#ccc1fd
RGBrgb(204, 193, 253)
HSLhsl(251, 94%, 88%)
CMYKcmyk(19%, 24%, 0%, 1%)
LABlab(80.8 15.8 -28.1)
LCHlch(80.8 32.2 299.3)
OKLCHoklch(0.840 0.084 292.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc1fd on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#ccc1fd on black: 12.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green75.7%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta23.7%
Yellow0.0%
Key (black)0.8%

Color previews

#ccc1fd text on a black background

contrast 12.61:1

Card sample

#ccc1fd text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc1fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc1fd in the Color Lab