Skip to content

#cec4ff

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

RGB
206, 196, 255
HSL
250°, 100%, 88%
CMYK
19, 23, 0, 0
Luminance
0.5982

Every format

HEX#cec4ff
RGBrgb(206, 196, 255)
HSLhsl(250, 100%, 88%)
CMYKcmyk(19%, 23%, 0%, 0%)
LABlab(81.7 15.2 -27.7)
LCHlch(81.7 31.6 298.8)
OKLCHoklch(0.848 0.082 292.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec4ff on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#cec4ff on black: 12.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green76.9%
Blue100.0%

CMYK percentages

Cyan19.2%
Magenta23.1%
Yellow0.0%
Key (black)0.0%

Color previews

#cec4ff text on a black background

contrast 12.96:1

Card sample

#cec4ff text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec4ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec4ff in the Color Lab