Skip to content

#c2b2d2

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

RGB
194, 178, 210
HSL
270°, 26%, 76%
CMYK
8, 15, 0, 18
Luminance
0.4796

Every format

HEX#c2b2d2
RGBrgb(194, 178, 210)
HSLhsl(270, 26%, 76%)
CMYKcmyk(8%, 15%, 0%, 18%)
LABlab(74.8 11.7 -14.1)
LCHlch(74.8 18.3 309.8)
OKLCHoklch(0.787 0.048 307.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2b2d2 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#c2b2d2 on black: 10.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green69.8%
Blue82.4%

CMYK percentages

Cyan7.6%
Magenta15.2%
Yellow0.0%
Key (black)17.6%

Color previews

#c2b2d2 text on a black background

contrast 10.59:1

Card sample

#c2b2d2 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2b2d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2b2d2 in the Color Lab