Skip to content

#b51ade

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

RGB
181, 26, 222
HSL
287°, 79%, 49%
CMYK
19, 88, 0, 13
Luminance
0.1584

At a glance

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

Hex
#b51ade
Hue
287°
violet
Saturation
79%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1584
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.04:1
Closest name
Dark Orchid
ΔE2000 4.7
Where it sits
Hue287° of 360°
Saturation79%
Lightness49%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#b51ade
RGBrgb(181, 26, 222)
HSLhsl(287, 79%, 49%)
CMYKcmyk(19%, 88%, 0%, 13%)
LABlab(46.8 79.5 -64.8)
LCHlch(46.8 102.5 320.8)
OKLCHoklch(0.577 0.269 317.1)
Decimal11868894
Display P3color(display-p3 0.710 0.102 0.871)

Copy-ready code

/* CSS */
color: #b51ade;
background-color: #b51ade;
/* Tailwind (arbitrary) */
class="text-[#b51ade] bg-[#b51ade]"
/* SCSS */
$brand: #b51ade;
/* SwiftUI */
Color(red: 0.710, green: 0.102, blue: 0.871)
/* Android */
Color.parseColor("#b51ade")
/* Flutter */
Color(0xFFB51ADE)
/* Python / OpenCV (BGR) */
(222, 26, 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#ffffff on #b51ade · 5.04:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.04:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.17:1
AA fail · AA large pass · AAA fail
Reading the other direction: #b51ade as text scores 5.04:1 on white and 4.17:1 on black.

Accessibility — WCAG contrast

Aa
#b51ade on white: 5.04:1
AA ✓ pass · AA-large · AAA
Aa
#b51ade on black: 4.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0066E3
deuteranopia · #1D73DA
tritanopia · #B35084

Color scale — 50 to 950

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

#FAF3FC
#F5E6F9
#EBC7F5
#E19BF3
#D168ED
#C236E7
#b51ade
#9515B7
#771192
#57116A
#360A42
Base = 600Lightest = 50 · #FAF3FCDarkest = 950 · #360A42
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E6F9;
  --brand-200: #EBC7F5;
  --brand-300: #E19BF3;
  --brand-400: #D168ED;
  --brand-500: #C236E7;
  --brand-600: #b51ade;
  --brand-700: #9515B7;
  --brand-800: #771192;
  --brand-900: #57116A;
  --brand-950: #360A42;
  --brand: #b51ade;
  --brand-ink: #ffffff;
}

Colors that work with #b51ade

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#E3C0ED
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#60BB11
Second voice, not a rival
Dark variant#5D0D72
Hover, pressed, headers
Light variant#F8E8FC
Selected rows, tints
Dark surface#211424
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 #b51ade

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#43DE1A
Analogous left#531ADE
Analogous right#DE1AA5
Split-complement 1#A5DE1A
Split-complement 2#1ADE53
Triadic 1#DEB51A
Triadic 2#1ADEB5
Tetradic#DE531A

RGB percentages

Red71.0%
Green10.2%
Blue87.1%

CMYK percentages

Cyan18.5%
Magenta88.3%
Yellow0.0%
Key (black)12.9%

Color previews

#b51ade text on a black background

contrast 4.17:1

Card sample

#b51ade text on a white background

contrast 5.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b51ade

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.

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

#b51ade, answered

What color is #b51ade?

#b51ade is a balanced electric violet, closest to Dark Orchid (ΔE2000 4.7). It sits at 287° on the hue wheel with 79% saturation and 49% lightness, which reads as neutral.

What is the RGB value of #b51ade?

rgb(181, 26, 222) — 181 red, 26 green and 222 blue out of 255, or 71% / 10.2% / 87.1% by channel.

Is #b51ade a light or a dark color?

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

Should I use black or white text on #b51ade?

White. It scores 5.04:1 against #b51ade, versus 4.17:1 for black — AA at any size.

What is the complementary color of #b51ade?

#43DE1A sits directly opposite on the wheel. Softer options are the split-complements #A5DE1A and #1ADE53, which give the same contrast with far less vibration.

What colors go well with #b51ade?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #8A4B9B for secondary text, #60BB11 as an accent and #5D0D72 for hover and pressed states. For a palette, the analogous pair #531ADE and #DE1AA5 stays calm, while #43DE1A is the loudest partner.

What is #b51ade in CMYK for printing?

cmyk(19%, 88%, 0%, 13%). 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 #b51ade warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DE1ABF; nudged cooler, #6D18E0.

Work with #b51ade in the Color Lab