Skip to content

#cec2d4

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

RGB
206, 194, 212
HSL
280°, 17%, 80%
CMYK
3, 9, 0, 17
Luminance
0.5646

Every format

HEX#cec2d4
RGBrgb(206, 194, 212)
HSLhsl(280, 17%, 80%)
CMYKcmyk(3%, 9%, 0%, 17%)
LABlab(79.9 7.5 -7.5)
LCHlch(79.9 10.6 315.0)
OKLCHoklch(0.829 0.028 314.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec2d4 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#cec2d4 on black: 12.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green76.1%
Blue83.1%

CMYK percentages

Cyan2.8%
Magenta8.5%
Yellow0.0%
Key (black)16.9%

Color previews

#cec2d4 text on a black background

contrast 12.29:1

Card sample

#cec2d4 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec2d4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec2d4 in the Color Lab