Skip to content

#cec3fe

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

RGB
206, 195, 254
HSL
251°, 97%, 88%
CMYK
19, 23, 0, 0
Luminance
0.5931

Every format

HEX#cec3fe
RGBrgb(206, 195, 254)
HSLhsl(251, 97%, 88%)
CMYKcmyk(19%, 23%, 0%, 0%)
LABlab(81.5 15.5 -27.6)
LCHlch(81.5 31.6 299.4)
OKLCHoklch(0.846 0.082 293.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec3fe on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#cec3fe on black: 12.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green76.5%
Blue99.6%

CMYK percentages

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

Color previews

#cec3fe text on a black background

contrast 12.86:1

Card sample

#cec3fe text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec3fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec3fe in the Color Lab