Skip to content

#b537eb

a balanced, electric violet · cool · closest name: Medium Orchid

RGB
181, 55, 235
HSL
282°, 82%, 57%
CMYK
23, 77, 0, 8
Luminance
0.1855

At a glance

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

Hex
#b537eb
Hue
282°
violet
Saturation
82%
electric
Lightness
57%
balanced
Brightness
92%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1855
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.71:1
Closest name
Medium Orchid
ΔE2000 6.4
Where it sits
Hue282° of 360°
Saturation82%
Lightness57%
Temperature
Warm ← → Cool60% 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#b537eb
RGBrgb(181, 55, 235)
HSLhsl(282, 82%, 57%)
CMYKcmyk(23%, 77%, 0%, 8%)
LABlab(50.2 74.6 -66.6)
LCHlch(50.2 100.0 318.2)
OKLCHoklch(0.604 0.258 313.1)
Decimal11876331
Display P3color(display-p3 0.710 0.216 0.922)

Copy-ready code

/* CSS */
color: #b537eb;
background-color: #b537eb;
/* Tailwind (arbitrary) */
class="text-[#b537eb] bg-[#b537eb]"
/* SCSS */
$brand: #b537eb;
/* SwiftUI */
Color(red: 0.710, green: 0.216, blue: 0.922)
/* Android */
Color.parseColor("#b537eb")
/* Flutter */
Color(0xFFB537EB)
/* Python / OpenCV (BGR) */
(235, 55, 181)

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

Accessibility — WCAG contrast

Aa
#b537eb on white: 4.46:1
AA ✗ fail · AA-large · AAA
Aa
#b537eb on black: 4.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0071F0
deuteranopia · #1E7AE7
tritanopia · #AF6291

Color scale — 50 to 950

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

#F9F2FC
#F4E6F9
#E7C6F6
#D999F5
#C666F0
#b537eb
#A216DF
#8713B9
#6C0F94
#500F6B
#320943
Base = 500Lightest = 50 · #F9F2FCDarkest = 950 · #320943
:root {
  --brand-50: #F9F2FC;
  --brand-100: #F4E6F9;
  --brand-200: #E7C6F6;
  --brand-300: #D999F5;
  --brand-400: #C666F0;
  --brand-500: #b537eb;
  --brand-600: #A216DF;
  --brand-700: #8713B9;
  --brand-800: #6C0F94;
  --brand-900: #500F6B;
  --brand-950: #320943;
  --brand: #b537eb;
  --brand-ink: #000000;
}

Colors that work with #b537eb

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#F9F4FA
Tinted page background
Border#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6FBD0F
Second voice, not a rival
Dark variant#550C74
Hover, pressed, headers
Light variant#F6E8FD
Selected rows, tints
Dark surface#1F1424
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 #b537eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#6DEB37
Analogous left#5B37EB
Analogous right#EB37C7
Split-complement 1#C7EB37
Split-complement 2#37EB5B
Triadic 1#EBB537
Triadic 2#37EBB5
Tetradic#EB5B37

RGB percentages

Red71.0%
Green21.6%
Blue92.2%

CMYK percentages

Cyan23.0%
Magenta76.6%
Yellow0.0%
Key (black)7.8%

Color previews

#b537eb text on a black background

contrast 4.71:1

Card sample

#b537eb text on a white background

contrast 4.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b537eb

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.

#b537eb 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
ButtonsLinksFocus statesCharts
Print note

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

#b537eb, answered

What color is #b537eb?

#b537eb is a balanced electric violet, closest to Medium Orchid (ΔE2000 6.4). It sits at 282° on the hue wheel with 82% saturation and 57% lightness, which reads as cool.

What is the RGB value of #b537eb?

rgb(181, 55, 235) — 181 red, 55 green and 235 blue out of 255, or 71% / 21.6% / 92.2% by channel.

Is #b537eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.1855 and perceived brightness is 52%, so black text on it reaches 4.71:1.

Should I use black or white text on #b537eb?

Black. It scores 4.71:1 against #b537eb, versus 4.46:1 for white — AA at any size.

What is the complementary color of #b537eb?

#6DEB37 sits directly opposite on the wheel. Softer options are the split-complements #C7EB37 and #37EB5B, which give the same contrast with far less vibration.

What colors go well with #b537eb?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #6FBD0F as an accent and #550C74 for hover and pressed states. For a palette, the analogous pair #5B37EB and #EB37C7 stays calm, while #6DEB37 is the loudest partner.

What is #b537eb in CMYK for printing?

cmyk(23%, 77%, 0%, 8%). 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 #b537eb warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB37DF; nudged cooler, #7235ED.

Work with #b537eb in the Color Lab