Skip to content

#cec2ec

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

RGB
206, 194, 236
HSL
257°, 53%, 84%
CMYK
13, 18, 0, 8
Luminance
0.5776

Every format

HEX#cec2ec
RGBrgb(206, 194, 236)
HSLhsl(257, 53%, 84%)
CMYKcmyk(13%, 18%, 0%, 8%)
LABlab(80.6 12.2 -19.3)
LCHlch(80.6 22.8 302.4)
OKLCHoklch(0.837 0.059 298.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec2ec on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cec2ec on black: 12.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#cec2ec text on a black background

contrast 12.55:1

Card sample

#cec2ec text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec2ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec2ec in the Color Lab