Skip to content

#bab0cf

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

RGB
186, 176, 207
HSL
259°, 24%, 75%
CMYK
10, 15, 0, 19
Luminance
0.4599

Every format

HEX#bab0cf
RGBrgb(186, 176, 207)
HSLhsl(259, 24%, 75%)
CMYKcmyk(10%, 15%, 0%, 19%)
LABlab(73.5 9.5 -14.4)
LCHlch(73.5 17.3 303.5)
OKLCHoklch(0.775 0.045 300.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab0cf on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#bab0cf on black: 10.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green69.0%
Blue81.2%

CMYK percentages

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

Color previews

#bab0cf text on a black background

contrast 10.20:1

Card sample

#bab0cf text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab0cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab0cf in the Color Lab