Skip to content

#bac7fd

a pale, electric blue · warm · closest name: lavender

RGB
186, 199, 253
HSL
228°, 94%, 86%
CMYK
27, 21, 0, 1
Luminance
0.5838

Every format

HEX#bac7fd
RGBrgb(186, 199, 253)
HSLhsl(228, 94%, 86%)
CMYKcmyk(27%, 21%, 0%, 1%)
LABlab(81.0 7.2 -28.0)
LCHlch(81.0 28.9 284.4)
OKLCHoklch(0.838 0.077 274.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac7fd on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#bac7fd on black: 12.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green78.0%
Blue99.2%

CMYK percentages

Cyan26.5%
Magenta21.3%
Yellow0.0%
Key (black)0.8%

Color previews

#bac7fd text on a black background

contrast 12.68:1

Card sample

#bac7fd text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac7fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac7fd in the Color Lab