Skip to content

#b4baff

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

RGB
180, 186, 255
HSL
235°, 100%, 85%
CMYK
29, 27, 0, 0
Luminance
0.5204

Every format

HEX#b4baff
RGBrgb(180, 186, 255)
HSLhsl(235, 100%, 85%)
CMYKcmyk(29%, 27%, 0%, 0%)
LABlab(77.3 13.0 -34.7)
LCHlch(77.3 37.0 290.6)
OKLCHoklch(0.809 0.098 280.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4baff on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#b4baff on black: 11.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green72.9%
Blue100.0%

CMYK percentages

Cyan29.4%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#b4baff text on a black background

contrast 11.41:1

Card sample

#b4baff text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4baff in the Color Lab