Skip to content

#cec3ec

a light, vivid violet · warm · closest name: lavender

RGB
206, 195, 236
HSL
256°, 52%, 85%
CMYK
13, 17, 0, 8
Luminance
0.5821

Every format

HEX#cec3ec
RGBrgb(206, 195, 236)
HSLhsl(256, 52%, 85%)
CMYKcmyk(13%, 17%, 0%, 8%)
LABlab(80.8 11.7 -18.9)
LCHlch(80.8 22.2 301.8)
OKLCHoklch(0.839 0.058 297.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec3ec on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cec3ec on black: 12.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green76.5%
Blue92.5%

CMYK percentages

Cyan12.7%
Magenta17.4%
Yellow0.0%
Key (black)7.5%

Color previews

#cec3ec text on a black background

contrast 12.64:1

Card sample

#cec3ec text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec3ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec3ec in the Color Lab