Skip to content

#cec3eb

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

RGB
206, 195, 235
HSL
257°, 50%, 84%
CMYK
12, 17, 0, 8
Luminance
0.5815

Every format

HEX#cec3eb
RGBrgb(206, 195, 235)
HSLhsl(257, 50%, 84%)
CMYKcmyk(12%, 17%, 0%, 8%)
LABlab(80.8 11.5 -18.4)
LCHlch(80.8 21.7 302.0)
OKLCHoklch(0.839 0.056 297.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan12.3%
Magenta17.0%
Yellow0.0%
Key (black)7.8%

Color previews

#cec3eb text on a black background

contrast 12.63:1

Card sample

#cec3eb text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec3eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec3eb in the Color Lab