Skip to content

#cec0eb

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

RGB
206, 192, 235
HSL
260°, 52%, 84%
CMYK
12, 18, 0, 8
Luminance
0.5682

Every format

HEX#cec0eb
RGBrgb(206, 192, 235)
HSLhsl(260, 52%, 84%)
CMYKcmyk(12%, 18%, 0%, 8%)
LABlab(80.1 13.1 -19.5)
LCHlch(80.1 23.5 303.9)
OKLCHoklch(0.833 0.061 300.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec0eb on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#cec0eb on black: 12.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green75.3%
Blue92.2%

CMYK percentages

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

Color previews

#cec0eb text on a black background

contrast 12.36:1

Card sample

#cec0eb text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec0eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec0eb in the Color Lab