Skip to content

#cec2df

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

RGB
206, 194, 223
HSL
265°, 31%, 82%
CMYK
8, 13, 0, 13
Luminance
0.5703

Every format

HEX#cec2df
RGBrgb(206, 194, 223)
HSLhsl(265, 31%, 82%)
CMYKcmyk(8%, 13%, 0%, 13%)
LABlab(80.2 9.6 -12.9)
LCHlch(80.2 16.1 306.7)
OKLCHoklch(0.833 0.042 304.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec2df on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#cec2df on black: 12.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green76.1%
Blue87.5%

CMYK percentages

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

Color previews

#cec2df text on a black background

contrast 12.41:1

Card sample

#cec2df text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec2df in the Color Lab