Skip to content

#cec7ec

a pale, vivid blue · warm · closest name: lavender

RGB
206, 199, 236
HSL
251°, 49%, 85%
CMYK
13, 16, 0, 8
Luminance
0.6002

Every format

HEX#cec7ec
RGBrgb(206, 199, 236)
HSLhsl(251, 49%, 85%)
CMYKcmyk(13%, 16%, 0%, 8%)
LABlab(81.8 9.6 -17.4)
LCHlch(81.8 19.8 298.8)
OKLCHoklch(0.847 0.051 293.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec7ec on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#cec7ec on black: 13.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green78.0%
Blue92.5%

CMYK percentages

Cyan12.7%
Magenta15.7%
Yellow0.0%
Key (black)7.5%

Color previews

#cec7ec text on a black background

contrast 13.00:1

Card sample

#cec7ec text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec7ec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec7ec in the Color Lab