Skip to content

#ccc2fb

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

RGB
204, 194, 251
HSL
251°, 88%, 87%
CMYK
19, 23, 0, 2
Luminance
0.5839

Every format

HEX#ccc2fb
RGBrgb(204, 194, 251)
HSLhsl(251, 88%, 87%)
CMYKcmyk(19%, 23%, 0%, 2%)
LABlab(81.0 14.8 -26.8)
LCHlch(81.0 30.6 298.9)
OKLCHoklch(0.841 0.079 292.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.0%
Green76.1%
Blue98.4%

CMYK percentages

Cyan18.7%
Magenta22.7%
Yellow0.0%
Key (black)1.6%

Color previews

#ccc2fb text on a black background

contrast 12.68:1

Card sample

#ccc2fb text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccc2fb in the Color Lab