Skip to content

#ccc2f8

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

RGB
204, 194, 248
HSL
251°, 79%, 87%
CMYK
18, 22, 0, 3
Luminance
0.5820

Every format

HEX#ccc2f8
RGBrgb(204, 194, 248)
HSLhsl(251, 79%, 87%)
CMYKcmyk(18%, 22%, 0%, 3%)
LABlab(80.8 14.2 -25.3)
LCHlch(80.8 29.0 299.2)
OKLCHoklch(0.840 0.075 293.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green76.1%
Blue97.3%

CMYK percentages

Cyan17.7%
Magenta21.8%
Yellow0.0%
Key (black)2.7%

Color previews

#ccc2f8 text on a black background

contrast 12.64:1

Card sample

#ccc2f8 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc2f8 in the Color Lab