Skip to content

#cab4cf

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

RGB
202, 180, 207
HSL
289°, 22%, 76%
CMYK
2, 13, 0, 19
Luminance
0.4970

Every format

HEX#cab4cf
RGBrgb(202, 180, 207)
HSLhsl(289, 22%, 76%)
CMYKcmyk(2%, 13%, 0%, 19%)
LABlab(75.9 12.7 -10.7)
LCHlch(75.9 16.6 319.8)
OKLCHoklch(0.797 0.045 320.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cab4cf on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#cab4cf on black: 10.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green70.6%
Blue81.2%

CMYK percentages

Cyan2.4%
Magenta13.0%
Yellow0.0%
Key (black)18.8%

Color previews

#cab4cf text on a black background

contrast 10.94:1

Card sample

#cab4cf text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cab4cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cab4cf in the Color Lab