Skip to content

#babaf5

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

RGB
186, 186, 245
HSL
240°, 75%, 85%
CMYK
24, 24, 0, 4
Luminance
0.5215

Every format

HEX#babaf5
RGBrgb(186, 186, 245)
HSLhsl(240, 75%, 85%)
CMYKcmyk(24%, 24%, 0%, 4%)
LABlab(77.4 12.4 -29.2)
LCHlch(77.4 31.7 293.0)
OKLCHoklch(0.809 0.083 284.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#babaf5 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#babaf5 on black: 11.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green72.9%
Blue96.1%

CMYK percentages

Cyan24.1%
Magenta24.1%
Yellow0.0%
Key (black)3.9%

Color previews

#babaf5 text on a black background

contrast 11.43:1

Card sample

#babaf5 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #babaf5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #babaf5 in the Color Lab