Skip to content

#bba0fe

a light, electric violet · cool · closest name: Plum

RGB
187, 160, 254
HSL
257°, 98%, 81%
CMYK
26, 37, 0, 0
Luminance
0.4286

At a glance

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

Hex
#bba0fe
Hue
257°
violet
Saturation
98%
electric
Lightness
81%
light
Brightness
100%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4286
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.57:1
Closest name
Plum
ΔE2000 12
Where it sits
Hue257° of 360°
Saturation98%
Lightness81%
Temperature
Warm ← → Cool74% 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#bba0fe
RGBrgb(187, 160, 254)
HSLhsl(257, 98%, 81%)
CMYKcmyk(26%, 37%, 0%, 0%)
LABlab(71.5 29.2 -43.2)
LCHlch(71.5 52.1 304.0)
OKLCHoklch(0.765 0.134 296.3)
Decimal12296446
Display P3color(display-p3 0.733 0.627 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bba0fe on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#bba0fe on black: 9.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #87B0FF
deuteranopia · #8BAEFC
tritanopia · #ADB0C3

Color scale — 50 to 950

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

#F5F1FD
#EAE3FC
#D1C1FB
#bba0fe
#8858FD
#6021FD
#4703F2
#3B02CA
#3002A1
#260674
#180449
Base = 300Lightest = 50 · #F5F1FDDarkest = 950 · #180449
:root {
  --brand-50: #F5F1FD;
  --brand-100: #EAE3FC;
  --brand-200: #D1C1FB;
  --brand-300: #bba0fe;
  --brand-400: #8858FD;
  --brand-500: #6021FD;
  --brand-600: #4703F2;
  --brand-700: #3B02CA;
  --brand-800: #3002A1;
  --brand-900: #260674;
  --brand-950: #180449;
  --brand: #bba0fe;
  --brand-ink: #000000;
}

Colors that work with #bba0fe

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#CDC0ED
Hairlines and dividers
Muted text#624B9B
Captions on the surface
Accent#C3CC00
Second voice, not a rival
Dark variant#25017E
Hover, pressed, headers
Light variant#EDE6FF
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 #bba0fe

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#E3FEA0
Analogous left#A0B4FE
Analogous right#EAA0FE
Split-complement 1#FEEAA0
Split-complement 2#B4FEA0
Triadic 1#FEBBA0
Triadic 2#A0FEBB
Tetradic#FEA0B4

RGB percentages

Red73.3%
Green62.7%
Blue99.6%

CMYK percentages

Cyan26.4%
Magenta37.0%
Yellow0.0%
Key (black)0.4%

Color previews

#bba0fe text on a black background

contrast 9.57:1

Card sample

#bba0fe text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bba0fe

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.

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

#bba0fe, answered

What color is #bba0fe?

#bba0fe is a light electric violet, closest to Plum (ΔE2000 12). It sits at 257° on the hue wheel with 98% saturation and 81% lightness, which reads as cool.

What is the RGB value of #bba0fe?

rgb(187, 160, 254) — 187 red, 160 green and 254 blue out of 255, or 73.3% / 62.7% / 99.6% by channel.

Is #bba0fe a light or a dark color?

It is a mid-tone. Relative luminance is 0.4286 and perceived brightness is 71%, so black text on it reaches 9.57:1.

Should I use black or white text on #bba0fe?

Black. It scores 9.57:1 against #bba0fe, versus 2.19:1 for white — AAA at any size.

What is the complementary color of #bba0fe?

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

What colors go well with #bba0fe?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #624B9B for secondary text, #C3CC00 as an accent and #25017E for hover and pressed states. For a palette, the analogous pair #A0B4FE and #EAA0FE stays calm, while #E3FEA0 is the loudest partner.

What is #bba0fe in CMYK for printing?

cmyk(26%, 37%, 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 #bba0fe warm or cool?

Cool — it scores 74 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DDA0FE; nudged cooler, #9FA7FF.

Work with #bba0fe in the Color Lab