Skip to content

#b293eb

a light, vivid violet · cool · closest name: Medium Purple

RGB
178, 147, 235
HSL
261°, 69%, 75%
CMYK
24, 37, 0, 8
Luminance
0.3633

At a glance

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

Hex
#b293eb
Hue
261°
violet
Saturation
69%
vivid
Lightness
75%
light
Brightness
92%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3633
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.27:1
Closest name
Medium Purple
ΔE2000 10.8
Where it sits
Hue261° of 360°
Saturation69%
Lightness75%
Temperature
Warm ← → Cool72% 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#b293eb
RGBrgb(178, 147, 235)
HSLhsl(261, 69%, 75%)
CMYKcmyk(24%, 37%, 0%, 8%)
LABlab(66.8 29.4 -40.2)
LCHlch(66.8 49.8 306.2)
OKLCHoklch(0.725 0.128 299.4)
Decimal11703275
Display P3color(display-p3 0.698 0.576 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b293eb on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#b293eb on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7DA2EE
deuteranopia · #83A2E9
tritanopia · #A7A2B4

Color scale — 50 to 950

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

#F6F3FB
#EDE7F8
#D8CAF2
#b293eb
#9A71E5
#7842DC
#6126CF
#5120AC
#41198A
#321664
#1F0E3E
Base = 300Lightest = 50 · #F6F3FBDarkest = 950 · #1F0E3E
:root {
  --brand-50: #F6F3FB;
  --brand-100: #EDE7F8;
  --brand-200: #D8CAF2;
  --brand-300: #b293eb;
  --brand-400: #9A71E5;
  --brand-500: #7842DC;
  --brand-600: #6126CF;
  --brand-700: #5120AC;
  --brand-800: #41198A;
  --brand-900: #321664;
  --brand-950: #1F0E3E;
  --brand: #b293eb;
  --brand-ink: #000000;
}

Colors that work with #b293eb

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#D0C0ED
Hairlines and dividers
Muted text#674B9B
Captions on the surface
Accent#A1B11B
Second voice, not a rival
Dark variant#33146C
Hover, pressed, headers
Light variant#F0E9FB
Selected rows, tints
Dark surface#1A1424
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 #b293eb

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#CCEB93
Analogous left#93A0EB
Analogous right#DE93EB
Split-complement 1#EBDE93
Split-complement 2#A0EB93
Triadic 1#EBB293
Triadic 2#93EBB2
Tetradic#EB93A0

RGB percentages

Red69.8%
Green57.6%
Blue92.2%

CMYK percentages

Cyan24.3%
Magenta37.4%
Yellow0.0%
Key (black)7.8%

Color previews

#b293eb text on a black background

contrast 8.27:1

Card sample

#b293eb text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b293eb

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.

#b293eb 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

Converts to four-color process without much drama. Proof it anyway.

#b293eb, answered

What color is #b293eb?

#b293eb is a light vivid violet, closest to Medium Purple (ΔE2000 10.8). It sits at 261° on the hue wheel with 69% saturation and 75% lightness, which reads as cool.

What is the RGB value of #b293eb?

rgb(178, 147, 235) — 178 red, 147 green and 235 blue out of 255, or 69.8% / 57.6% / 92.2% by channel.

Is #b293eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3633 and perceived brightness is 66%, so black text on it reaches 8.27:1.

Should I use black or white text on #b293eb?

Black. It scores 8.27:1 against #b293eb, versus 2.54:1 for white — AAA at any size.

What is the complementary color of #b293eb?

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

What colors go well with #b293eb?

For interface work: #F6F4FA as the surface, #D0C0ED for borders, #674B9B for secondary text, #A1B11B as an accent and #33146C for hover and pressed states. For a palette, the analogous pair #93A0EB and #DE93EB stays calm, while #CCEB93 is the loudest partner.

What is #b293eb in CMYK for printing?

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

Is #b293eb warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D293EB; nudged cooler, #9293EC.

Work with #b293eb in the Color Lab