Skip to content

#bab3eb

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

RGB
186, 179, 235
HSL
248°, 58%, 81%
CMYK
21, 24, 0, 8
Luminance
0.4868

Every format

HEX#bab3eb
RGBrgb(186, 179, 235)
HSLhsl(248, 58%, 81%)
CMYKcmyk(21%, 24%, 0%, 8%)
LABlab(75.3 13.9 -27.0)
LCHlch(75.3 30.4 297.3)
OKLCHoklch(0.792 0.079 290.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab3eb on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#bab3eb on black: 10.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green70.2%
Blue92.2%

CMYK percentages

Cyan20.9%
Magenta23.8%
Yellow0.0%
Key (black)7.8%

Color previews

#bab3eb text on a black background

contrast 10.74:1

Card sample

#bab3eb text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab3eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab3eb in the Color Lab