Skip to content

#bbafe2

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

RGB
187, 175, 226
HSL
254°, 47%, 79%
CMYK
17, 23, 0, 11
Luminance
0.4672

Every format

HEX#bbafe2
RGBrgb(187, 175, 226)
HSLhsl(254, 47%, 79%)
CMYKcmyk(17%, 23%, 0%, 11%)
LABlab(74.0 14.4 -24.0)
LCHlch(74.0 28.0 301.0)
OKLCHoklch(0.781 0.073 295.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbafe2 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#bbafe2 on black: 10.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green68.6%
Blue88.6%

CMYK percentages

Cyan17.3%
Magenta22.6%
Yellow0.0%
Key (black)11.4%

Color previews

#bbafe2 text on a black background

contrast 10.34:1

Card sample

#bbafe2 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbafe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbafe2 in the Color Lab