Skip to content

#bac0f3

a light, vivid blue · warm · closest name: lavender

RGB
186, 192, 243
HSL
234°, 70%, 84%
CMYK
24, 21, 0, 5
Luminance
0.5461

Every format

HEX#bac0f3
RGBrgb(186, 192, 243)
HSLhsl(234, 70%, 84%)
CMYKcmyk(24%, 21%, 0%, 5%)
LABlab(78.8 8.7 -25.9)
LCHlch(78.8 27.3 288.5)
OKLCHoklch(0.821 0.072 279.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac0f3 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#bac0f3 on black: 11.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green75.3%
Blue95.3%

CMYK percentages

Cyan23.5%
Magenta21.0%
Yellow0.0%
Key (black)4.7%

Color previews

#bac0f3 text on a black background

contrast 11.92:1

Card sample

#bac0f3 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac0f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac0f3 in the Color Lab