Skip to content

#bbaaff

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

RGB
187, 170, 255
HSL
252°, 100%, 83%
CMYK
27, 33, 0, 0
Luminance
0.4653

Every format

HEX#bbaaff
RGBrgb(187, 170, 255)
HSLhsl(252, 100%, 83%)
CMYKcmyk(27%, 33%, 0%, 0%)
LABlab(73.9 23.9 -39.9)
LCHlch(73.9 46.5 300.9)
OKLCHoklch(0.784 0.120 292.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbaaff on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#bbaaff on black: 10.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green66.7%
Blue100.0%

CMYK percentages

Cyan26.7%
Magenta33.3%
Yellow0.0%
Key (black)0.0%

Color previews

#bbaaff text on a black background

contrast 10.31:1

Card sample

#bbaaff text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbaaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbaaff in the Color Lab