Skip to content

#b9baff

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

RGB
185, 186, 255
HSL
239°, 100%, 86%
CMYK
28, 27, 0, 0
Luminance
0.5265

Every format

HEX#b9baff
RGBrgb(185, 186, 255)
HSLhsl(239, 100%, 86%)
CMYKcmyk(28%, 27%, 0%, 0%)
LABlab(77.7 14.4 -34.1)
LCHlch(77.7 37.0 293.0)
OKLCHoklch(0.813 0.097 283.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b9baff on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#b9baff on black: 11.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.5%
Green72.9%
Blue100.0%

CMYK percentages

Cyan27.5%
Magenta27.1%
Yellow0.0%
Key (black)0.0%

Color previews

#b9baff text on a black background

contrast 11.53:1

Card sample

#b9baff text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b9baff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b9baff in the Color Lab