Skip to content

#bab7fc

a pale, electric blue · cool · closest name: Light Steel Blue

RGB
186, 183, 252
HSL
243°, 92%, 85%
CMYK
26, 27, 0, 1
Luminance
0.5133

At a glance

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

Hex
#bab7fc
Hue
243°
blue
Saturation
92%
electric
Lightness
85%
pale
Brightness
99%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5133
WCAG relative
Temperature
Cool
82/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
11.27:1
Closest name
Light Steel Blue
ΔE2000 9.3
Where it sits
Hue243° of 360°
Saturation92%
Lightness85%
Temperature
Warm ← → Cool82% 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#bab7fc
RGBrgb(186, 183, 252)
HSLhsl(243, 92%, 85%)
CMYKcmyk(26%, 27%, 0%, 1%)
LABlab(76.9 15.7 -33.7)
LCHlch(76.9 37.1 295.0)
OKLCHoklch(0.807 0.097 286.0)
Decimal12236796
Display P3color(display-p3 0.729 0.718 0.988)

Copy-ready code

/* CSS */
color: #bab7fc;
background-color: #bab7fc;
/* Tailwind (arbitrary) */
class="text-[#bab7fc] bg-[#bab7fc]"
/* SCSS */
$brand: #bab7fc;
/* SwiftUI */
Color(red: 0.729, green: 0.718, blue: 0.988)
/* Android */
Color.parseColor("#bab7fc")
/* Flutter */
Color(0xFFBAB7FC)
/* Python / OpenCV (BGR) */
(252, 183, 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 #bab7fc · 11.27:1
Use #000000AAA at every size.
Aa
White text · 1.86:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.27:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #bab7fc as text scores 1.86:1 on white and 11.27:1 on black.

Accessibility — WCAG contrast

Aa
#bab7fc on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#bab7fc on black: 11.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A5C0FF
deuteranopia · #A3BCFA
tritanopia · #ABC3CF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #bab7fc 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.

#F2F2FD
#E5E4FB
#bab7fc
#9893FB
#645DF8
#3128F6
#140AEB
#1008C4
#0D079D
#0E0971
#090647
Base = 200Lightest = 50 · #F2F2FDDarkest = 950 · #090647
:root {
  --brand-50: #F2F2FD;
  --brand-100: #E5E4FB;
  --brand-200: #bab7fc;
  --brand-300: #9893FB;
  --brand-400: #645DF8;
  --brand-500: #3128F6;
  --brand-600: #140AEB;
  --brand-700: #1008C4;
  --brand-800: #0D079D;
  --brand-900: #0E0971;
  --brand-950: #090647;
  --brand: #bab7fc;
  --brand-ink: #000000;
}

Colors that work with #bab7fc

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#C2C0ED
Hairlines and dividers
Muted text#4E4B9B
Captions on the surface
Accent#C9A003
Second voice, not a rival
Dark variant#0A057A
Hover, pressed, headers
Light variant#E8E7FE
Selected rows, tints
Dark surface#141424
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 #bab7fc

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#F9FCB7
Analogous left#B7D7FC
Analogous right#DDB7FC
Split-complement 1#FCDDB7
Split-complement 2#D7FCB7
Triadic 1#FCBAB7
Triadic 2#B7FCBA
Tetradic#FCB7D7

RGB percentages

Red72.9%
Green71.8%
Blue98.8%

CMYK percentages

Cyan26.2%
Magenta27.4%
Yellow0.0%
Key (black)1.2%

Color previews

#bab7fc text on a black background

contrast 11.27:1

Card sample

#bab7fc text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bab7fc

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.

#bab7fc 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#bab7fc, answered

What color is #bab7fc?

#bab7fc is a pale electric blue, closest to Light Steel Blue (ΔE2000 9.3). It sits at 243° on the hue wheel with 92% saturation and 85% lightness, which reads as cool.

What is the RGB value of #bab7fc?

rgb(186, 183, 252) — 186 red, 183 green and 252 blue out of 255, or 72.9% / 71.8% / 98.8% by channel.

Is #bab7fc a light or a dark color?

It is a light color. Relative luminance is 0.5133 and perceived brightness is 76%, so black text on it reaches 11.27:1.

Should I use black or white text on #bab7fc?

Black. It scores 11.27:1 against #bab7fc, versus 1.86:1 for white — AAA at any size.

What is the complementary color of #bab7fc?

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

What colors go well with #bab7fc?

For interface work: #F5F4FA as the surface, #C2C0ED for borders, #4E4B9B for secondary text, #C9A003 as an accent and #0A057A for hover and pressed states. For a palette, the analogous pair #B7D7FC and #DDB7FC stays calm, while #F9FCB7 is the loudest partner.

What is #bab7fc in CMYK for printing?

cmyk(26%, 27%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #bab7fc warm or cool?

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

Work with #bab7fc in the Color Lab