Skip to content

#bacaf4

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

RGB
186, 202, 244
HSL
223°, 73%, 84%
CMYK
24, 17, 0, 4
Luminance
0.5921

Every format

HEX#bacaf4
RGBrgb(186, 202, 244)
HSLhsl(223, 73%, 84%)
CMYKcmyk(24%, 17%, 0%, 4%)
LABlab(81.4 3.5 -22.5)
LCHlch(81.4 22.7 278.9)
OKLCHoklch(0.841 0.061 268.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bacaf4 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#bacaf4 on black: 12.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green79.2%
Blue95.7%

CMYK percentages

Cyan23.8%
Magenta17.2%
Yellow0.0%
Key (black)4.3%

Color previews

#bacaf4 text on a black background

contrast 12.84:1

Card sample

#bacaf4 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bacaf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacaf4 in the Color Lab