Skip to content

#bab3ff

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

RGB
186, 179, 255
HSL
246°, 100%, 85%
CMYK
27, 30, 0, 0
Luminance
0.4990

Every format

HEX#bab3ff
RGBrgb(186, 179, 255)
HSLhsl(246, 100%, 85%)
CMYKcmyk(27%, 30%, 0%, 0%)
LABlab(76.0 18.6 -36.6)
LCHlch(76.0 41.1 296.9)
OKLCHoklch(0.800 0.107 288.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab3ff on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#bab3ff on black: 10.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green70.2%
Blue100.0%

CMYK percentages

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

Color previews

#bab3ff text on a black background

contrast 10.98:1

Card sample

#bab3ff text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab3ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab3ff in the Color Lab