Skip to content

#bac3fd

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

RGB
186, 195, 253
HSL
232°, 94%, 86%
CMYK
27, 23, 0, 1
Luminance
0.5656

Every format

HEX#bac3fd
RGBrgb(186, 195, 253)
HSLhsl(232, 94%, 86%)
CMYKcmyk(27%, 23%, 0%, 1%)
LABlab(79.9 9.3 -29.5)
LCHlch(79.9 31.0 287.6)
OKLCHoklch(0.830 0.082 277.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac3fd on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#bac3fd on black: 12.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green76.5%
Blue99.2%

CMYK percentages

Cyan26.5%
Magenta22.9%
Yellow0.0%
Key (black)0.8%

Color previews

#bac3fd text on a black background

contrast 12.31:1

Card sample

#bac3fd text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac3fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac3fd in the Color Lab