Skip to content

#b2bafc

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

RGB
178, 186, 252
HSL
234°, 93%, 84%
CMYK
29, 26, 0, 1
Luminance
0.5161

Every format

HEX#b2bafc
RGBrgb(178, 186, 252)
HSLhsl(234, 93%, 84%)
CMYKcmyk(29%, 26%, 0%, 1%)
LABlab(77.0 11.7 -33.5)
LCHlch(77.0 35.5 289.3)
OKLCHoklch(0.806 0.094 278.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2bafc on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#b2bafc on black: 11.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green72.9%
Blue98.8%

CMYK percentages

Cyan29.4%
Magenta26.2%
Yellow0.0%
Key (black)1.2%

Color previews

#b2bafc text on a black background

contrast 11.32:1

Card sample

#b2bafc text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2bafc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2bafc in the Color Lab