Skip to content

#bab8cf

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

RGB
186, 184, 207
HSL
245°, 19%, 77%
CMYK
10, 11, 0, 19
Luminance
0.4923

Every format

HEX#bab8cf
RGBrgb(186, 184, 207)
HSLhsl(245, 19%, 77%)
CMYKcmyk(10%, 11%, 0%, 19%)
LABlab(75.6 5.2 -11.3)
LCHlch(75.6 12.4 294.6)
OKLCHoklch(0.791 0.032 289.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green72.2%
Blue81.2%

CMYK percentages

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

Color previews

#bab8cf text on a black background

contrast 10.85:1

Card sample

#bab8cf text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab8cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab8cf in the Color Lab