Skip to content

#bab3f7

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

RGB
186, 179, 247
HSL
246°, 81%, 84%
CMYK
25, 28, 0, 3
Luminance
0.4939

Every format

HEX#bab3f7
RGBrgb(186, 179, 247)
HSLhsl(246, 81%, 84%)
CMYKcmyk(25%, 28%, 0%, 3%)
LABlab(75.7 16.7 -32.8)
LCHlch(75.7 36.8 297.0)
OKLCHoklch(0.797 0.096 288.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab3f7 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#bab3f7 on black: 10.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green70.2%
Blue96.9%

CMYK percentages

Cyan24.7%
Magenta27.5%
Yellow0.0%
Key (black)3.1%

Color previews

#bab3f7 text on a black background

contrast 10.88:1

Card sample

#bab3f7 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab3f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab3f7 in the Color Lab