Skip to content

#cec3ff

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

RGB
206, 195, 255
HSL
251°, 100%, 88%
CMYK
19, 24, 0, 0
Luminance
0.5937

Every format

HEX#cec3ff
RGBrgb(206, 195, 255)
HSLhsl(251, 100%, 88%)
CMYKcmyk(19%, 24%, 0%, 0%)
LABlab(81.5 15.8 -28.1)
LCHlch(81.5 32.2 299.3)
OKLCHoklch(0.847 0.084 292.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green76.5%
Blue100.0%

CMYK percentages

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

Color previews

#cec3ff text on a black background

contrast 12.87:1

Card sample

#cec3ff text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec3ff in the Color Lab