Skip to content

#bacaf2

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

RGB
186, 202, 242
HSL
223°, 68%, 84%
CMYK
23, 17, 0, 5
Luminance
0.5909

Every format

HEX#bacaf2
RGBrgb(186, 202, 242)
HSLhsl(223, 68%, 84%)
CMYKcmyk(23%, 17%, 0%, 5%)
LABlab(81.3 3.0 -21.5)
LCHlch(81.3 21.7 278.0)
OKLCHoklch(0.840 0.059 268.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green79.2%
Blue94.9%

CMYK percentages

Cyan23.1%
Magenta16.5%
Yellow0.0%
Key (black)5.1%

Color previews

#bacaf2 text on a black background

contrast 12.82:1

Card sample

#bacaf2 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bacaf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacaf2 in the Color Lab