Skip to content

#bab7eb

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

RGB
186, 183, 235
HSL
244°, 57%, 82%
CMYK
21, 22, 0, 8
Luminance
0.5030

Every format

HEX#bab7eb
RGBrgb(186, 183, 235)
HSLhsl(244, 57%, 82%)
CMYKcmyk(21%, 22%, 0%, 8%)
LABlab(76.3 11.8 -25.5)
LCHlch(76.3 28.1 294.8)
OKLCHoklch(0.800 0.073 287.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab7eb on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#bab7eb on black: 11.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green71.8%
Blue92.2%

CMYK percentages

Cyan20.9%
Magenta22.1%
Yellow0.0%
Key (black)7.8%

Color previews

#bab7eb text on a black background

contrast 11.06:1

Card sample

#bab7eb text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab7eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab7eb in the Color Lab