Skip to content

#cab2d2

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

RGB
202, 178, 210
HSL
285°, 26%, 76%
CMYK
4, 15, 0, 18
Luminance
0.4905

Every format

HEX#cab2d2
RGBrgb(202, 178, 210)
HSLhsl(285, 26%, 76%)
CMYKcmyk(4%, 15%, 0%, 18%)
LABlab(75.5 14.4 -13.0)
LCHlch(75.5 19.4 318.0)
OKLCHoklch(0.794 0.052 317.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cab2d2 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#cab2d2 on black: 10.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green69.8%
Blue82.4%

CMYK percentages

Cyan3.8%
Magenta15.2%
Yellow0.0%
Key (black)17.6%

Color previews

#cab2d2 text on a black background

contrast 10.81:1

Card sample

#cab2d2 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cab2d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cab2d2 in the Color Lab