Skip to content

#cec0df

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

RGB
206, 192, 223
HSL
267°, 33%, 81%
CMYK
8, 14, 0, 13
Luminance
0.5615

Every format

HEX#cec0df
RGBrgb(206, 192, 223)
HSLhsl(267, 33%, 81%)
CMYKcmyk(8%, 14%, 0%, 13%)
LABlab(79.7 10.7 -13.7)
LCHlch(79.7 17.3 308.0)
OKLCHoklch(0.829 0.045 305.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec0df on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#cec0df on black: 12.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green75.3%
Blue87.5%

CMYK percentages

Cyan7.6%
Magenta13.9%
Yellow0.0%
Key (black)12.5%

Color previews

#cec0df text on a black background

contrast 12.23:1

Card sample

#cec0df text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec0df in the Color Lab