Skip to content

#cec5df

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

RGB
206, 197, 223
HSL
261°, 29%, 82%
CMYK
8, 12, 0, 13
Luminance
0.5838

Every format

HEX#cec5df
RGBrgb(206, 197, 223)
HSLhsl(261, 29%, 82%)
CMYKcmyk(8%, 12%, 0%, 13%)
LABlab(81.0 8.0 -11.8)
LCHlch(81.0 14.2 304.2)
OKLCHoklch(0.839 0.037 301.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green77.3%
Blue87.5%

CMYK percentages

Cyan7.6%
Magenta11.7%
Yellow0.0%
Key (black)12.5%

Color previews

#cec5df text on a black background

contrast 12.68:1

Card sample

#cec5df text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec5df in the Color Lab