Skip to content

#bba4ff

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

RGB
187, 164, 255
HSL
255°, 100%, 82%
CMYK
27, 36, 0, 0
Luminance
0.4434

At a glance

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

Hex
#bba4ff
Hue
255°
violet
Saturation
100%
electric
Lightness
82%
light
Brightness
100%
HSV value
Perceived
72%
weighted brightness
Luminance
0.4434
WCAG relative
Temperature
Cool
75/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.87:1
Closest name
Light Steel Blue
ΔE2000 11.6
Where it sits
Hue255° of 360°
Saturation100%
Lightness82%
Temperature
Warm ← → Cool75% 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#bba4ff
RGBrgb(187, 164, 255)
HSLhsl(255, 100%, 82%)
CMYKcmyk(27%, 36%, 0%, 0%)
LABlab(72.5 27.2 -42.2)
LCHlch(72.5 50.2 302.8)
OKLCHoklch(0.773 0.129 294.8)
Decimal12297471
Display P3color(display-p3 0.733 0.643 1.000)

Copy-ready code

/* CSS */
color: #bba4ff;
background-color: #bba4ff;
/* Tailwind (arbitrary) */
class="text-[#bba4ff] bg-[#bba4ff]"
/* SCSS */
$brand: #bba4ff;
/* SwiftUI */
Color(red: 0.733, green: 0.643, blue: 1.000)
/* Android */
Color.parseColor("#bba4ff")
/* Flutter */
Color(0xFFBBA4FF)
/* Python / OpenCV (BGR) */
(255, 164, 187)

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

Accessibility — WCAG contrast

Aa
#bba4ff on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#bba4ff on black: 9.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8CB3FF
deuteranopia · #8FB0FD
tritanopia · #ADB4C6

Color scale — 50 to 950

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

#F4F1FE
#EAE3FC
#CFC0FC
#bba4ff
#8157FF
#571FFF
#3E00F5
#3400CC
#2900A3
#210576
#150349
Base = 300Lightest = 50 · #F4F1FEDarkest = 950 · #150349
:root {
  --brand-50: #F4F1FE;
  --brand-100: #EAE3FC;
  --brand-200: #CFC0FC;
  --brand-300: #bba4ff;
  --brand-400: #8157FF;
  --brand-500: #571FFF;
  --brand-600: #3E00F5;
  --brand-700: #3400CC;
  --brand-800: #2900A3;
  --brand-900: #210576;
  --brand-950: #150349;
  --brand: #bba4ff;
  --brand-ink: #000000;
}

Colors that work with #bba4ff

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#F6F4FA
Tinted page background
Border#CBC0ED
Hairlines and dividers
Muted text#5F4B9B
Captions on the surface
Accent#CCCC00
Second voice, not a rival
Dark variant#200080
Hover, pressed, headers
Light variant#ECE5FF
Selected rows, tints
Dark surface#181424
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 #bba4ff

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#E8FFA4
Analogous left#A4BBFF
Analogous right#E9A4FF
Split-complement 1#FFE9A4
Split-complement 2#BBFFA4
Triadic 1#FFBBA4
Triadic 2#A4FFBB
Tetradic#FFA4BB

RGB percentages

Red73.3%
Green64.3%
Blue100.0%

CMYK percentages

Cyan26.7%
Magenta35.7%
Yellow0.0%
Key (black)0.0%

Color previews

#bba4ff text on a black background

contrast 9.87:1

Card sample

#bba4ff text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 164, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 164, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bba4ff;
background: linear-gradient(135deg, #bba4ff, #F8A4FF);

Monochromatic scale

Palettes built from #bba4ff

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.

#bba4ff in the real world

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

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#bba4ff, answered

What color is #bba4ff?

#bba4ff is a light electric violet, closest to Light Steel Blue (ΔE2000 11.6). It sits at 255° on the hue wheel with 100% saturation and 82% lightness, which reads as cool.

What is the RGB value of #bba4ff?

rgb(187, 164, 255) — 187 red, 164 green and 255 blue out of 255, or 73.3% / 64.3% / 100% by channel.

Is #bba4ff a light or a dark color?

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

Should I use black or white text on #bba4ff?

Black. It scores 9.87:1 against #bba4ff, versus 2.13:1 for white — AAA at any size.

What is the complementary color of #bba4ff?

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

What colors go well with #bba4ff?

For interface work: #F6F4FA as the surface, #CBC0ED for borders, #5F4B9B for secondary text, #CCCC00 as an accent and #200080 for hover and pressed states. For a palette, the analogous pair #A4BBFF and #E9A4FF stays calm, while #E8FFA4 is the loudest partner.

What is #bba4ff in CMYK for printing?

cmyk(27%, 36%, 0%, 0%). 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 #bba4ff warm or cool?

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

Work with #bba4ff in the Color Lab