Skip to content

#bab2cf

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

RGB
186, 178, 207
HSL
257°, 23%, 76%
CMYK
10, 14, 0, 19
Luminance
0.4678

Every format

HEX#bab2cf
RGBrgb(186, 178, 207)
HSLhsl(257, 23%, 76%)
CMYKcmyk(10%, 14%, 0%, 19%)
LABlab(74.0 8.4 -13.6)
LCHlch(74.0 16.0 301.8)
OKLCHoklch(0.779 0.042 298.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab2cf on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#bab2cf on black: 10.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green69.8%
Blue81.2%

CMYK percentages

Cyan10.1%
Magenta14.0%
Yellow0.0%
Key (black)18.8%

Color previews

#bab2cf text on a black background

contrast 10.36:1

Card sample

#bab2cf text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab2cf in the Color Lab