Skip to content

#bbafe4

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

RGB
187, 175, 228
HSL
254°, 50%, 79%
CMYK
18, 23, 0, 11
Luminance
0.4683

Every format

HEX#bbafe4
RGBrgb(187, 175, 228)
HSLhsl(254, 50%, 79%)
CMYKcmyk(18%, 23%, 0%, 11%)
LABlab(74.1 14.9 -25.0)
LCHlch(74.1 29.1 300.8)
OKLCHoklch(0.782 0.075 295.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red73.3%
Green68.6%
Blue89.4%

CMYK percentages

Cyan18.0%
Magenta23.2%
Yellow0.0%
Key (black)10.6%

Color previews

#bbafe4 text on a black background

contrast 10.37:1

Card sample

#bbafe4 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bbafe4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbafe4 in the Color Lab