Skip to content

#b115eb

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

RGB
177, 21, 235
HSL
284°, 84%, 50%
CMYK
25, 91, 0, 8
Luminance
0.1588

At a glance

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

Hex
#b115eb
Hue
284°
violet
Saturation
84%
electric
Lightness
50%
balanced
Brightness
92%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1588
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.03:1
Closest name
Dark Orchid
ΔE2000 5
Where it sits
Hue284° of 360°
Saturation84%
Lightness50%
Temperature
Warm ← → Cool59% 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#b115eb
RGBrgb(177, 21, 235)
HSLhsl(284, 84%, 50%)
CMYKcmyk(25%, 91%, 0%, 8%)
LABlab(46.8 82.0 -72.1)
LCHlch(46.8 109.2 318.7)
OKLCHoklch(0.579 0.280 313.0)
Decimal11605483
Display P3color(display-p3 0.694 0.082 0.922)

Copy-ready code

/* CSS */
color: #b115eb;
background-color: #b115eb;
/* Tailwind (arbitrary) */
class="text-[#b115eb] bg-[#b115eb]"
/* SCSS */
$brand: #b115eb;
/* SwiftUI */
Color(red: 0.694, green: 0.082, blue: 0.922)
/* Android */
Color.parseColor("#b115eb")
/* Flutter */
Color(0xFFB115EB)
/* Python / OpenCV (BGR) */
(235, 21, 177)

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

Accessibility — WCAG contrast

Aa
#b115eb on white: 5.03:1
AA ✓ pass · AA-large · AAA
Aa
#b115eb on black: 4.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068F0
deuteranopia · #0072E7
tritanopia · #AA578B

Color scale — 50 to 950

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

#FAF2FC
#F4E6FA
#E9C5F6
#DC98F6
#CB64F2
#BA30ED
#b115eb
#8D10BC
#710D96
#530E6D
#340944
Base = 600Lightest = 50 · #FAF2FCDarkest = 950 · #340944
:root {
  --brand-50: #FAF2FC;
  --brand-100: #F4E6FA;
  --brand-200: #E9C5F6;
  --brand-300: #DC98F6;
  --brand-400: #CB64F2;
  --brand-500: #BA30ED;
  --brand-600: #b115eb;
  --brand-700: #8D10BC;
  --brand-800: #710D96;
  --brand-900: #530E6D;
  --brand-950: #340944;
  --brand: #b115eb;
  --brand-ink: #ffffff;
}

Colors that work with #b115eb

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F4FA
Tinted page background
Border#E0C0ED
Hairlines and dividers
Muted text#854B9B
Captions on the surface
Accent#6AC00C
Second voice, not a rival
Dark variant#580A75
Hover, pressed, headers
Light variant#F7E8FD
Selected rows, tints
Dark surface#201424
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 #b115eb

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#4FEB15
Analogous left#4615EB
Analogous right#EB15BA
Split-complement 1#BAEB15
Split-complement 2#15EB46
Triadic 1#EBB115
Triadic 2#15EBB1
Tetradic#EB4615

RGB percentages

Red69.4%
Green8.2%
Blue92.2%

CMYK percentages

Cyan24.7%
Magenta91.1%
Yellow0.0%
Key (black)7.8%

Color previews

#b115eb text on a black background

contrast 4.18:1

Card sample

#b115eb text on a white background

contrast 5.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b115eb

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.

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

#b115eb, answered

What color is #b115eb?

#b115eb is a balanced electric violet, closest to Dark Orchid (ΔE2000 5). It sits at 284° on the hue wheel with 84% saturation and 50% lightness, which reads as cool.

What is the RGB value of #b115eb?

rgb(177, 21, 235) — 177 red, 21 green and 235 blue out of 255, or 69.4% / 8.2% / 92.2% by channel.

Is #b115eb a light or a dark color?

It is a dark color. Relative luminance is 0.1588 and perceived brightness is 49%, so white text on it reaches 5.03:1.

Should I use black or white text on #b115eb?

White. It scores 5.03:1 against #b115eb, versus 4.18:1 for black — AA at any size.

What is the complementary color of #b115eb?

#4FEB15 sits directly opposite on the wheel. Softer options are the split-complements #BAEB15 and #15EB46, which give the same contrast with far less vibration.

What colors go well with #b115eb?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #854B9B for secondary text, #6AC00C as an accent and #580A75 for hover and pressed states. For a palette, the analogous pair #4615EB and #EB15BA stays calm, while #4FEB15 is the loudest partner.

What is #b115eb in CMYK for printing?

cmyk(25%, 91%, 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 #b115eb warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB15D7; nudged cooler, #6212EE.

Work with #b115eb in the Color Lab