Skip to content

#b91cf4

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

RGB
185, 28, 244
HSL
284°, 91%, 53%
CMYK
24, 89, 0, 4
Luminance
0.1768

At a glance

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

Hex
#b91cf4
Hue
284°
violet
Saturation
91%
electric
Lightness
53%
balanced
Brightness
96%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1768
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.63:1
Closest name
Dark Orchid
ΔE2000 6.9
Where it sits
Hue284° of 360°
Saturation91%
Lightness53%
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#b91cf4
RGBrgb(185, 28, 244)
HSLhsl(284, 91%, 53%)
CMYKcmyk(24%, 89%, 0%, 4%)
LABlab(49.1 83.6 -73.4)
LCHlch(49.1 111.3 318.7)
OKLCHoklch(0.600 0.285 313.2)
Decimal12131572
Display P3color(display-p3 0.725 0.110 0.957)

Copy-ready code

/* CSS */
color: #b91cf4;
background-color: #b91cf4;
/* Tailwind (arbitrary) */
class="text-[#b91cf4] bg-[#b91cf4]"
/* SCSS */
$brand: #b91cf4;
/* SwiftUI */
Color(red: 0.725, green: 0.110, blue: 0.957)
/* Android */
Color.parseColor("#b91cf4")
/* Flutter */
Color(0xFFB91CF4)
/* Python / OpenCV (BGR) */
(244, 28, 185)

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

Accessibility — WCAG contrast

Aa
#b91cf4 on white: 4.63:1
AA ✓ pass · AA-large · AAA
Aa
#b91cf4 on black: 4.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006EF9
deuteranopia · #0078F0
tritanopia · #B25C91

Color scale — 50 to 950

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

#FAF2FD
#F5E5FB
#EAC3F9
#DE94FA
#CD5EF7
#b91cf4
#AD0BEA
#9009C3
#73089C
#540A70
#350646
Base = 500Lightest = 50 · #FAF2FDDarkest = 950 · #350646
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F5E5FB;
  --brand-200: #EAC3F9;
  --brand-300: #DE94FA;
  --brand-400: #CD5EF7;
  --brand-500: #b91cf4;
  --brand-600: #AD0BEA;
  --brand-700: #9009C3;
  --brand-800: #73089C;
  --brand-900: #540A70;
  --brand-950: #350646;
  --brand: #b91cf4;
  --brand-ink: #ffffff;
}

Colors that work with #b91cf4

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#6AC705
Second voice, not a rival
Dark variant#5A067A
Hover, pressed, headers
Light variant#F7E7FE
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 #b91cf4

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

Works well for
  • Body text and links 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
  • 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#57F41C
Analogous left#4D1CF4
Analogous right#F41CC3
Split-complement 1#C3F41C
Split-complement 2#1CF44D
Triadic 1#F4B91C
Triadic 2#1CF4B9
Tetradic#F44D1C

RGB percentages

Red72.5%
Green11.0%
Blue95.7%

CMYK percentages

Cyan24.2%
Magenta88.5%
Yellow0.0%
Key (black)4.3%

Color previews

#b91cf4 text on a black background

contrast 4.54:1

Card sample

#b91cf4 text on a white background

contrast 4.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(185, 28, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(185, 28, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b91cf4;
background: linear-gradient(135deg, #b91cf4, #F41C9F);

Monochromatic scale

Palettes built from #b91cf4

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.

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

#b91cf4, answered

What color is #b91cf4?

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

What is the RGB value of #b91cf4?

rgb(185, 28, 244) — 185 red, 28 green and 244 blue out of 255, or 72.5% / 11% / 95.7% by channel.

Is #b91cf4 a light or a dark color?

It is a dark color. Relative luminance is 0.1768 and perceived brightness is 52%, so white text on it reaches 4.63:1.

Should I use black or white text on #b91cf4?

White. It scores 4.63:1 against #b91cf4, versus 4.54:1 for black — AA at any size.

What is the complementary color of #b91cf4?

#57F41C sits directly opposite on the wheel. Softer options are the split-complements #C3F41C and #1CF44D, which give the same contrast with far less vibration.

What colors go well with #b91cf4?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #854B9B for secondary text, #6AC705 as an accent and #5A067A for hover and pressed states. For a palette, the analogous pair #4D1CF4 and #F41CC3 stays calm, while #57F41C is the loudest partner.

What is #b91cf4 in CMYK for printing?

cmyk(24%, 89%, 0%, 4%). 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 #b91cf4 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 #F41CE0; nudged cooler, #6919F6.

Work with #b91cf4 in the Color Lab