Skip to content

#cec2d2

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

RGB
206, 194, 210
HSL
285°, 15%, 79%
CMYK
2, 8, 0, 18
Luminance
0.5636

Every format

HEX#cec2d2
RGBrgb(206, 194, 210)
HSLhsl(285, 15%, 79%)
CMYKcmyk(2%, 8%, 0%, 18%)
LABlab(79.8 7.1 -6.5)
LCHlch(79.8 9.6 317.6)
OKLCHoklch(0.829 0.026 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green76.1%
Blue82.4%

CMYK percentages

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

Color previews

#cec2d2 text on a black background

contrast 12.27:1

Card sample

#cec2d2 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec2d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cec2d2 in the Color Lab