Skip to content

#bab3f3

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

RGB
186, 179, 243
HSL
247°, 73%, 83%
CMYK
24, 26, 0, 5
Luminance
0.4915

Every format

HEX#bab3f3
RGBrgb(186, 179, 243)
HSLhsl(247, 73%, 83%)
CMYKcmyk(24%, 26%, 0%, 5%)
LABlab(75.5 15.8 -30.9)
LCHlch(75.5 34.7 297.0)
OKLCHoklch(0.795 0.090 289.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bab3f3 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#bab3f3 on black: 10.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green70.2%
Blue95.3%

CMYK percentages

Cyan23.5%
Magenta26.3%
Yellow0.0%
Key (black)4.7%

Color previews

#bab3f3 text on a black background

contrast 10.83:1

Card sample

#bab3f3 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab3f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bab3f3 in the Color Lab