Skip to content

#cec3da

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

RGB
206, 195, 218
HSL
269°, 24%, 81%
CMYK
6, 11, 0, 15
Luminance
0.5721

Every format

HEX#cec3da
RGBrgb(206, 195, 218)
HSLhsl(269, 24%, 81%)
CMYKcmyk(6%, 11%, 0%, 15%)
LABlab(80.3 8.1 -10.1)
LCHlch(80.3 12.9 308.8)
OKLCHoklch(0.833 0.034 307.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green76.5%
Blue85.5%

CMYK percentages

Cyan5.5%
Magenta10.6%
Yellow0.0%
Key (black)14.5%

Color previews

#cec3da text on a black background

contrast 12.44:1

Card sample

#cec3da text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec3da

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec3da in the Color Lab