Skip to content

#bacaf0

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

RGB
186, 202, 240
HSL
222°, 64%, 84%
CMYK
23, 16, 0, 6
Luminance
0.5897

Every format

HEX#bacaf0
RGBrgb(186, 202, 240)
HSLhsl(222, 64%, 84%)
CMYKcmyk(23%, 16%, 0%, 6%)
LABlab(81.3 2.6 -20.5)
LCHlch(81.3 20.7 277.2)
OKLCHoklch(0.839 0.056 267.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan22.5%
Magenta15.8%
Yellow0.0%
Key (black)5.9%

Color previews

#bacaf0 text on a black background

contrast 12.79:1

Card sample

#bacaf0 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bacaf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacaf0 in the Color Lab