Skip to content

#bab4ff

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

RGB
186, 180, 255
HSL
245°, 100%, 85%
CMYK
27, 29, 0, 0
Luminance
0.5030

Every format

HEX#bab4ff
RGBrgb(186, 180, 255)
HSLhsl(245, 100%, 85%)
CMYKcmyk(27%, 29%, 0%, 0%)
LABlab(76.3 18.0 -36.3)
LCHlch(76.3 40.5 296.5)
OKLCHoklch(0.802 0.105 287.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green70.6%
Blue100.0%

CMYK percentages

Cyan27.1%
Magenta29.4%
Yellow0.0%
Key (black)0.0%

Color previews

#bab4ff text on a black background

contrast 11.06:1

Card sample

#bab4ff text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab4ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab4ff in the Color Lab