Skip to content

#cec5ff

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

RGB
206, 197, 255
HSL
249°, 100%, 89%
CMYK
19, 23, 0, 0
Luminance
0.6027

Every format

HEX#cec5ff
RGBrgb(206, 197, 255)
HSLhsl(249, 100%, 89%)
CMYKcmyk(19%, 23%, 0%, 0%)
LABlab(82.0 14.7 -27.3)
LCHlch(82.0 31.0 298.2)
OKLCHoklch(0.850 0.081 291.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec5ff on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#cec5ff on black: 13.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green77.3%
Blue100.0%

CMYK percentages

Cyan19.2%
Magenta22.7%
Yellow0.0%
Key (black)0.0%

Color previews

#cec5ff text on a black background

contrast 13.05:1

Card sample

#cec5ff text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec5ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec5ff in the Color Lab