Skip to content

#bab2f3

a light, vivid blue · cool · closest name: Light Steel Blue

RGB
186, 178, 243
HSL
247°, 73%, 83%
CMYK
24, 27, 0, 5
Luminance
0.4875

At a glance

Every number on this page in one read: what #bab2f3 is made of, how bright it looks, and which way it leans.

Hex
#bab2f3
Hue
247°
blue
Saturation
73%
vivid
Lightness
83%
light
Brightness
95%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4875
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
10.75:1
Closest name
Light Steel Blue
ΔE2000 10.5
Where it sits
Hue247° of 360°
Saturation73%
Lightness83%
Temperature
Warm ← → Cool79% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#bab2f3
RGBrgb(186, 178, 243)
HSLhsl(247, 73%, 83%)
CMYKcmyk(24%, 27%, 0%, 5%)
LABlab(75.3 16.3 -31.3)
LCHlch(75.3 35.3 297.6)
OKLCHoklch(0.793 0.092 289.8)
Decimal12235507
Display P3color(display-p3 0.729 0.698 0.953)

Copy-ready code

/* CSS */
color: #bab2f3;
background-color: #bab2f3;
/* Tailwind (arbitrary) */
class="text-[#bab2f3] bg-[#bab2f3]"
/* SCSS */
$brand: #bab2f3;
/* SwiftUI */
Color(red: 0.729, green: 0.698, blue: 0.953)
/* Android */
Color.parseColor("#bab2f3")
/* Flutter */
Color(0xFFBAB2F3)
/* Python / OpenCV (BGR) */
(243, 178, 186)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #bab2f3 · 10.75:1
Use #000000AAA at every size.
Aa
White text · 1.95:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.75:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #bab2f3 as text scores 1.95:1 on white and 10.75:1 on black.

Accessibility — WCAG contrast

Aa
#bab2f3 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#bab2f3 on black: 10.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A2BBF6
deuteranopia · #A2B8F1
tritanopia · #AEBDC9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bab2f3 is pinned to step 200; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F3FC
#E9E7F8
#bab2f3
#A89EF0
#7D6DE8
#513DE1
#3721D4
#2E1CB0
#25168D
#1E1466
#130D40
Base = 200Lightest = 50 · #F4F3FCDarkest = 950 · #130D40
:root {
  --brand-50: #F4F3FC;
  --brand-100: #E9E7F8;
  --brand-200: #bab2f3;
  --brand-300: #A89EF0;
  --brand-400: #7D6DE8;
  --brand-500: #513DE1;
  --brand-600: #3721D4;
  --brand-700: #2E1CB0;
  --brand-800: #25168D;
  --brand-900: #1E1466;
  --brand-950: #130D40;
  --brand: #bab2f3;
  --brand-ink: #000000;
}

Colors that work with #bab2f3

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F5F4FA
Tinted page background
Border#C5C0ED
Hairlines and dividers
Muted text#544B9B
Captions on the surface
Accent#B5A017
Second voice, not a rival
Dark variant#1D116E
Hover, pressed, headers
Light variant#EBE9FC
Selected rows, tints
Dark surface#161424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #bab2f3

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#EBF3B2
Analogous left#B2CAF3
Analogous right#DAB2F3
Split-complement 1#F3DAB2
Split-complement 2#CAF3B2
Triadic 1#F3BAB2
Triadic 2#B2F3BA
Tetradic#F3B2CA

RGB percentages

Red72.9%
Green69.8%
Blue95.3%

CMYK percentages

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

Color previews

#bab2f3 text on a black background

contrast 10.75:1

Card sample

#bab2f3 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab2f3

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#bab2f3 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#bab2f3, answered

What color is #bab2f3?

#bab2f3 is a light vivid blue, closest to Light Steel Blue (ΔE2000 10.5). It sits at 247° on the hue wheel with 73% saturation and 83% lightness, which reads as cool.

What is the RGB value of #bab2f3?

rgb(186, 178, 243) — 186 red, 178 green and 243 blue out of 255, or 72.9% / 69.8% / 95.3% by channel.

Is #bab2f3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4875 and perceived brightness is 74%, so black text on it reaches 10.75:1.

Should I use black or white text on #bab2f3?

Black. It scores 10.75:1 against #bab2f3, versus 1.95:1 for white — AAA at any size.

What is the complementary color of #bab2f3?

#EBF3B2 sits directly opposite on the wheel. Softer options are the split-complements #F3DAB2 and #CAF3B2, which give the same contrast with far less vibration.

What colors go well with #bab2f3?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #544B9B for secondary text, #B5A017 as an accent and #1D116E for hover and pressed states. For a palette, the analogous pair #B2CAF3 and #DAB2F3 stays calm, while #EBF3B2 is the loudest partner.

What is #bab2f3 in CMYK for printing?

cmyk(24%, 27%, 0%, 5%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #bab2f3 warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D2B2F3; nudged cooler, #B1C1F4.

Work with #bab2f3 in the Color Lab