Skip to content

#cec1df

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

RGB
206, 193, 223
HSL
266°, 32%, 82%
CMYK
8, 14, 0, 13
Luminance
0.5659

Every format

HEX#cec1df
RGBrgb(206, 193, 223)
HSLhsl(266, 32%, 82%)
CMYKcmyk(8%, 14%, 0%, 13%)
LABlab(80.0 10.1 -13.3)
LCHlch(80.0 16.7 307.4)
OKLCHoklch(0.831 0.044 305.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green75.7%
Blue87.5%

CMYK percentages

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

Color previews

#cec1df text on a black background

contrast 12.32:1

Card sample

#cec1df text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec1df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec1df in the Color Lab