Skip to content

#b2abfb

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

RGB
178, 171, 251
HSL
245°, 91%, 83%
CMYK
29, 32, 0, 2
Luminance
0.4556

At a glance

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

Hex
#b2abfb
Hue
245°
blue
Saturation
91%
electric
Lightness
83%
light
Brightness
98%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4556
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
10.11:1
Closest name
Light Steel Blue
ΔE2000 10
Where it sits
Hue245° of 360°
Saturation91%
Lightness83%
Temperature
Warm ← → Cool80% 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#b2abfb
RGBrgb(178, 171, 251)
HSLhsl(245, 91%, 83%)
CMYKcmyk(29%, 32%, 0%, 2%)
LABlab(73.3 19.8 -38.8)
LCHlch(73.3 43.6 297.0)
OKLCHoklch(0.777 0.113 287.5)
Decimal11709435
Display P3color(display-p3 0.698 0.671 0.984)

Copy-ready code

/* CSS */
color: #b2abfb;
background-color: #b2abfb;
/* Tailwind (arbitrary) */
class="text-[#b2abfb] bg-[#b2abfb]"
/* SCSS */
$brand: #b2abfb;
/* SwiftUI */
Color(red: 0.698, green: 0.671, blue: 0.984)
/* Android */
Color.parseColor("#b2abfb")
/* Flutter */
Color(0xFFB2ABFB)
/* Python / OpenCV (BGR) */
(251, 171, 178)

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 #b2abfb · 10.11:1
Use #000000AAA at every size.
Aa
White text · 2.08:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.11:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #b2abfb as text scores 2.08:1 on white and 10.11:1 on black.

Accessibility — WCAG contrast

Aa
#b2abfb on white: 2.08:1
AA ✗ fail · AA-large · AAA
Aa
#b2abfb on black: 10.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #95B6FE
deuteranopia · #94B2F9
tritanopia · #A1B9C8

Color scale — 50 to 950

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

#F3F2FD
#E7E5FB
#b2abfb
#9D94FA
#6C5EF7
#3B29F5
#1F0BEA
#1A09C3
#15079C
#130A70
#0C0646
Base = 200Lightest = 50 · #F3F2FDDarkest = 950 · #0C0646
:root {
  --brand-50: #F3F2FD;
  --brand-100: #E7E5FB;
  --brand-200: #b2abfb;
  --brand-300: #9D94FA;
  --brand-400: #6C5EF7;
  --brand-500: #3B29F5;
  --brand-600: #1F0BEA;
  --brand-700: #1A09C3;
  --brand-800: #15079C;
  --brand-900: #130A70;
  --brand-950: #0C0646;
  --brand: #b2abfb;
  --brand-ink: #000000;
}

Colors that work with #b2abfb

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#C4C0ED
Hairlines and dividers
Muted text#524B9B
Captions on the surface
Accent#C7A705
Second voice, not a rival
Dark variant#10067A
Hover, pressed, headers
Light variant#E9E7FE
Selected rows, tints
Dark surface#151424
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 #b2abfb

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#F4FBAB
Analogous left#ABCCFB
Analogous right#DAABFB
Split-complement 1#FBDAAB
Split-complement 2#CCFBAB
Triadic 1#FBB2AB
Triadic 2#ABFBB2
Tetradic#FBABCC

RGB percentages

Red69.8%
Green67.1%
Blue98.4%

CMYK percentages

Cyan29.1%
Magenta31.9%
Yellow0.0%
Key (black)1.6%

Color previews

#b2abfb text on a black background

contrast 10.11:1

Card sample

#b2abfb text on a white background

contrast 2.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2abfb

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.

#b2abfb 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.

#b2abfb, answered

What color is #b2abfb?

#b2abfb is a light electric blue, closest to Light Steel Blue (ΔE2000 10). It sits at 245° on the hue wheel with 91% saturation and 83% lightness, which reads as cool.

What is the RGB value of #b2abfb?

rgb(178, 171, 251) — 178 red, 171 green and 251 blue out of 255, or 69.8% / 67.1% / 98.4% by channel.

Is #b2abfb a light or a dark color?

It is a mid-tone. Relative luminance is 0.4556 and perceived brightness is 72%, so black text on it reaches 10.11:1.

Should I use black or white text on #b2abfb?

Black. It scores 10.11:1 against #b2abfb, versus 2.08:1 for white — AAA at any size.

What is the complementary color of #b2abfb?

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

What colors go well with #b2abfb?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #524B9B for secondary text, #C7A705 as an accent and #10067A for hover and pressed states. For a palette, the analogous pair #ABCCFB and #DAABFB stays calm, while #F4FBAB is the loudest partner.

What is #b2abfb in CMYK for printing?

cmyk(29%, 32%, 0%, 2%). 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 #b2abfb warm or cool?

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

Work with #b2abfb in the Color Lab