Skip to content

#cec2fe

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

RGB
206, 194, 254
HSL
252°, 97%, 88%
CMYK
19, 24, 0, 0
Luminance
0.5886

Every format

HEX#cec2fe
RGBrgb(206, 194, 254)
HSLhsl(252, 97%, 88%)
CMYKcmyk(19%, 24%, 0%, 0%)
LABlab(81.2 16.1 -28.0)
LCHlch(81.2 32.3 299.9)
OKLCHoklch(0.844 0.084 293.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec2fe on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#cec2fe on black: 12.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green76.1%
Blue99.6%

CMYK percentages

Cyan18.9%
Magenta23.6%
Yellow0.0%
Key (black)0.4%

Color previews

#cec2fe text on a black background

contrast 12.77:1

Card sample

#cec2fe text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec2fe in the Color Lab