Skip to content

#b3a2fd

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

RGB
179, 162, 253
HSL
251°, 96%, 81%
CMYK
29, 36, 0, 1
Luminance
0.4252

At a glance

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

Hex
#b3a2fd
Hue
251°
blue
Saturation
96%
electric
Lightness
81%
light
Brightness
99%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4252
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
9.50:1
Closest name
Light Steel Blue
ΔE2000 11.4
Where it sits
Hue251° of 360°
Saturation96%
Lightness81%
Temperature
Warm ← → Cool77% 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#b3a2fd
RGBrgb(179, 162, 253)
HSLhsl(251, 96%, 81%)
CMYKcmyk(29%, 36%, 0%, 1%)
LABlab(71.2 25.6 -43.1)
LCHlch(71.2 50.1 300.7)
OKLCHoklch(0.762 0.129 291.6)
Decimal11772669
Display P3color(display-p3 0.702 0.635 0.992)

Copy-ready code

/* CSS */
color: #b3a2fd;
background-color: #b3a2fd;
/* Tailwind (arbitrary) */
class="text-[#b3a2fd] bg-[#b3a2fd]"
/* SCSS */
$brand: #b3a2fd;
/* SwiftUI */
Color(red: 0.702, green: 0.635, blue: 0.992)
/* Android */
Color.parseColor("#b3a2fd")
/* Flutter */
Color(0xFFB3A2FD)
/* Python / OpenCV (BGR) */
(253, 162, 179)

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

Accessibility — WCAG contrast

Aa
#b3a2fd on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#b3a2fd on black: 9.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #88B0FF
deuteranopia · #8AADFB
tritanopia · #A2B2C4

Color scale — 50 to 950

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

#F4F1FD
#E8E4FC
#CCC1FA
#b3a2fd
#785AFB
#4B23FA
#3105F0
#2904C8
#2103A0
#1B0773
#110548
Base = 300Lightest = 50 · #F4F1FDDarkest = 950 · #110548
:root {
  --brand-50: #F4F1FD;
  --brand-100: #E8E4FC;
  --brand-200: #CCC1FA;
  --brand-300: #b3a2fd;
  --brand-400: #785AFB;
  --brand-500: #4B23FA;
  --brand-600: #3105F0;
  --brand-700: #2904C8;
  --brand-800: #2103A0;
  --brand-900: #1B0773;
  --brand-950: #110548;
  --brand: #b3a2fd;
  --brand-ink: #000000;
}

Colors that work with #b3a2fd

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#C8C0ED
Hairlines and dividers
Muted text#5A4B9B
Captions on the surface
Accent#CCBF00
Second voice, not a rival
Dark variant#19037D
Hover, pressed, headers
Light variant#EBE6FE
Selected rows, tints
Dark surface#171424
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 #b3a2fd

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#ECFDA2
Analogous left#A2BFFD
Analogous right#E1A2FD
Split-complement 1#FDE1A2
Split-complement 2#BFFDA2
Triadic 1#FDB3A2
Triadic 2#A2FDB3
Tetradic#FDA2BF

RGB percentages

Red70.2%
Green63.5%
Blue99.2%

CMYK percentages

Cyan29.2%
Magenta36.0%
Yellow0.0%
Key (black)0.8%

Color previews

#b3a2fd text on a black background

contrast 9.50:1

Card sample

#b3a2fd text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(179, 162, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 162, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b3a2fd;
background: linear-gradient(135deg, #b3a2fd, #F0A2FD);

Monochromatic scale

Palettes built from #b3a2fd

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.

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

#b3a2fd, answered

What color is #b3a2fd?

#b3a2fd is a light electric blue, closest to Light Steel Blue (ΔE2000 11.4). It sits at 251° on the hue wheel with 96% saturation and 81% lightness, which reads as cool.

What is the RGB value of #b3a2fd?

rgb(179, 162, 253) — 179 red, 162 green and 253 blue out of 255, or 70.2% / 63.5% / 99.2% by channel.

Is #b3a2fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.4252 and perceived brightness is 70%, so black text on it reaches 9.50:1.

Should I use black or white text on #b3a2fd?

Black. It scores 9.50:1 against #b3a2fd, versus 2.21:1 for white — AAA at any size.

What is the complementary color of #b3a2fd?

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

What colors go well with #b3a2fd?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #5A4B9B for secondary text, #CCBF00 as an accent and #19037D for hover and pressed states. For a palette, the analogous pair #A2BFFD and #E1A2FD stays calm, while #ECFDA2 is the loudest partner.

What is #b3a2fd in CMYK for printing?

cmyk(29%, 36%, 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 #b3a2fd warm or cool?

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

Work with #b3a2fd in the Color Lab