Skip to content

#bac7df

a light, soft blue · cool · closest name: lavender

RGB
186, 199, 223
HSL
219°, 37%, 80%
CMYK
17, 11, 0, 13
Luminance
0.5661

Every format

HEX#bac7df
RGBrgb(186, 199, 223)
HSLhsl(219, 37%, 80%)
CMYKcmyk(17%, 11%, 0%, 13%)
LABlab(80.0 0.5 -13.4)
LCHlch(80.0 13.4 272.0)
OKLCHoklch(0.827 0.037 262.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac7df on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#bac7df on black: 12.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green78.0%
Blue87.5%

CMYK percentages

Cyan16.6%
Magenta10.8%
Yellow0.0%
Key (black)12.5%

Color previews

#bac7df text on a black background

contrast 12.32:1

Card sample

#bac7df text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac7df in the Color Lab