Skip to content

#bac2fe

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

RGB
186, 194, 254
HSL
233°, 97%, 86%
CMYK
27, 24, 0, 0
Luminance
0.5618

Every format

HEX#bac2fe
RGBrgb(186, 194, 254)
HSLhsl(233, 97%, 86%)
CMYKcmyk(27%, 24%, 0%, 0%)
LABlab(79.7 10.1 -30.4)
LCHlch(79.7 32.0 288.4)
OKLCHoklch(0.829 0.085 278.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac2fe on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#bac2fe on black: 12.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green76.1%
Blue99.6%

CMYK percentages

Cyan26.8%
Magenta23.6%
Yellow0.0%
Key (black)0.4%

Color previews

#bac2fe text on a black background

contrast 12.24:1

Card sample

#bac2fe text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac2fe in the Color Lab