Skip to content

#cec3d2

a light, muted violet · warm · closest name: silver

RGB
206, 195, 210
HSL
284°, 14%, 79%
CMYK
2, 7, 0, 18
Luminance
0.5681

Every format

HEX#cec3d2
RGBrgb(206, 195, 210)
HSLhsl(284, 14%, 79%)
CMYKcmyk(2%, 7%, 0%, 18%)
LABlab(80.1 6.6 -6.1)
LCHlch(80.1 9.0 317.1)
OKLCHoklch(0.831 0.024 317.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green76.5%
Blue82.4%

CMYK percentages

Cyan1.9%
Magenta7.1%
Yellow0.0%
Key (black)17.6%

Color previews

#cec3d2 text on a black background

contrast 12.36:1

Card sample

#cec3d2 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec3d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec3d2 in the Color Lab