Skip to content

#b2abf1

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

RGB
178, 171, 241
HSL
246°, 71%, 81%
CMYK
26, 29, 0, 6
Luminance
0.4494

At a glance

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

Hex
#b2abf1
Hue
246°
blue
Saturation
71%
vivid
Lightness
81%
light
Brightness
95%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4494
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
9.99:1
Closest name
Light Steel Blue
ΔE2000 10.5
Where it sits
Hue246° of 360°
Saturation71%
Lightness81%
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#b2abf1
RGBrgb(178, 171, 241)
HSLhsl(246, 71%, 81%)
CMYKcmyk(26%, 29%, 0%, 6%)
LABlab(72.8 17.4 -34.0)
LCHlch(72.8 38.2 297.1)
OKLCHoklch(0.773 0.099 288.4)
Decimal11709425
Display P3color(display-p3 0.698 0.671 0.945)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2abf1 on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#b2abf1 on black: 9.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #98B4F4
deuteranopia · #98B1EF
tritanopia · #A4B7C4

Color scale — 50 to 950

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

#F4F3FC
#E9E7F8
#CDC9F3
#b2abf1
#7B6FE7
#4F3FDF
#3423D2
#2C1DAF
#23178C
#1D1565
#120D3F
Base = 300Lightest = 50 · #F4F3FCDarkest = 950 · #120D3F
:root {
  --brand-50: #F4F3FC;
  --brand-100: #E9E7F8;
  --brand-200: #CDC9F3;
  --brand-300: #b2abf1;
  --brand-400: #7B6FE7;
  --brand-500: #4F3FDF;
  --brand-600: #3423D2;
  --brand-700: #2C1DAF;
  --brand-800: #23178C;
  --brand-900: #1D1565;
  --brand-950: #120D3F;
  --brand: #b2abf1;
  --brand-ink: #000000;
}

Colors that work with #b2abf1

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#534B9B
Captions on the surface
Accent#B39C19
Second voice, not a rival
Dark variant#1B126D
Hover, pressed, headers
Light variant#EBE9FB
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 #b2abf1

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#EAF1AB
Analogous left#ABC7F1
Analogous right#D5ABF1
Split-complement 1#F1D5AB
Split-complement 2#C7F1AB
Triadic 1#F1B2AB
Triadic 2#ABF1B2
Tetradic#F1ABC7

RGB percentages

Red69.8%
Green67.1%
Blue94.5%

CMYK percentages

Cyan26.1%
Magenta29.0%
Yellow0.0%
Key (black)5.5%

Color previews

#b2abf1 text on a black background

contrast 9.99:1

Card sample

#b2abf1 text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2abf1

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.

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

#b2abf1, answered

What color is #b2abf1?

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

What is the RGB value of #b2abf1?

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

Is #b2abf1 a light or a dark color?

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

Should I use black or white text on #b2abf1?

Black. It scores 9.99:1 against #b2abf1, versus 2.10:1 for white — AAA at any size.

What is the complementary color of #b2abf1?

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

What colors go well with #b2abf1?

For interface work: #F5F4FA as the surface, #C4C0ED for borders, #534B9B for secondary text, #B39C19 as an accent and #1B126D for hover and pressed states. For a palette, the analogous pair #ABC7F1 and #D5ABF1 stays calm, while #EAF1AB is the loudest partner.

What is #b2abf1 in CMYK for printing?

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

Is #b2abf1 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 #CCABF1; nudged cooler, #AABDF2.

Work with #b2abf1 in the Color Lab