Skip to content

#bab4f3

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

RGB
186, 180, 243
HSL
246°, 72%, 83%
CMYK
24, 26, 0, 5
Luminance
0.4955

Every format

HEX#bab4f3
RGBrgb(186, 180, 243)
HSLhsl(246, 72%, 83%)
CMYKcmyk(24%, 26%, 0%, 5%)
LABlab(75.8 15.2 -30.5)
LCHlch(75.8 34.1 296.5)
OKLCHoklch(0.797 0.089 288.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab4f3 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#bab4f3 on black: 10.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green70.6%
Blue95.3%

CMYK percentages

Cyan23.5%
Magenta25.9%
Yellow0.0%
Key (black)4.7%

Color previews

#bab4f3 text on a black background

contrast 10.91:1

Card sample

#bab4f3 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab4f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab4f3 in the Color Lab