Skip to content

#bab7cf

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

RGB
186, 183, 207
HSL
248°, 20%, 77%
CMYK
10, 12, 0, 19
Luminance
0.4881

Every format

HEX#bab7cf
RGBrgb(186, 183, 207)
HSLhsl(248, 20%, 77%)
CMYKcmyk(10%, 12%, 0%, 19%)
LABlab(75.3 5.7 -11.7)
LCHlch(75.3 13.0 296.1)
OKLCHoklch(0.789 0.034 291.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab7cf on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#bab7cf on black: 10.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green71.8%
Blue81.2%

CMYK percentages

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

Color previews

#bab7cf text on a black background

contrast 10.76:1

Card sample

#bab7cf text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab7cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab7cf in the Color Lab