Skip to content

#b321fe

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

RGB
179, 33, 254
HSL
280°, 99%, 56%
CMYK
30, 87, 0, 0
Luminance
0.1783

At a glance

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

Hex
#b321fe
Hue
280°
violet
Saturation
99%
electric
Lightness
56%
balanced
Brightness
100%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1783
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.60:1
Closest name
Dark Orchid
ΔE2000 7.4
Where it sits
Hue280° of 360°
Saturation99%
Lightness56%
Temperature
Warm ← → Cool61% 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#b321fe
RGBrgb(179, 33, 254)
HSLhsl(280, 99%, 56%)
CMYKcmyk(30%, 87%, 0%, 0%)
LABlab(49.3 83.7 -78.7)
LCHlch(49.3 114.9 316.8)
OKLCHoklch(0.602 0.289 309.2)
Decimal11739646
Display P3color(display-p3 0.702 0.129 0.996)

Copy-ready code

/* CSS */
color: #b321fe;
background-color: #b321fe;
/* Tailwind (arbitrary) */
class="text-[#b321fe] bg-[#b321fe]"
/* SCSS */
$brand: #b321fe;
/* SwiftUI */
Color(red: 0.702, green: 0.129, blue: 0.996)
/* Android */
Color.parseColor("#b321fe")
/* Flutter */
Color(0xFFB321FE)
/* Python / OpenCV (BGR) */
(254, 33, 179)

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

Accessibility — WCAG contrast

Aa
#b321fe on white: 4.60:1
AA ✓ pass · AA-large · AAA
Aa
#b321fe on black: 4.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0070FF
deuteranopia · #0077FA
tritanopia · #A76398

Color scale — 50 to 950

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

#F9F1FE
#F4E3FC
#E7C0FB
#D98FFE
#C657FE
#b321fe
#A101F4
#8601CB
#6B01A2
#4F0575
#310349
Base = 500Lightest = 50 · #F9F1FEDarkest = 950 · #310349
:root {
  --brand-50: #F9F1FE;
  --brand-100: #F4E3FC;
  --brand-200: #E7C0FB;
  --brand-300: #D98FFE;
  --brand-400: #C657FE;
  --brand-500: #b321fe;
  --brand-600: #A101F4;
  --brand-700: #8601CB;
  --brand-800: #6B01A2;
  --brand-900: #4F0575;
  --brand-950: #310349;
  --brand: #b321fe;
  --brand-ink: #ffffff;
}

Colors that work with #b321fe

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#F8F4FA
Tinted page background
Border#DDC0ED
Hairlines and dividers
Muted text#804B9B
Captions on the surface
Accent#79CC00
Second voice, not a rival
Dark variant#54017F
Hover, pressed, headers
Light variant#F6E6FF
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 #b321fe

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#6CFE21
Analogous left#4421FE
Analogous right#FE21DB
Split-complement 1#DBFE21
Split-complement 2#21FE44
Triadic 1#FEB321
Triadic 2#21FEB3
Tetradic#FE4421

RGB percentages

Red70.2%
Green12.9%
Blue99.6%

CMYK percentages

Cyan29.5%
Magenta87.0%
Yellow0.0%
Key (black)0.4%

Color previews

#b321fe text on a black background

contrast 4.57:1

Card sample

#b321fe text on a white background

contrast 4.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(179, 33, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 33, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b321fe;
background: linear-gradient(135deg, #b321fe, #FE21B6);

Monochromatic scale

Palettes built from #b321fe

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.

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

#b321fe, answered

What color is #b321fe?

#b321fe is a balanced electric violet, closest to Dark Orchid (ΔE2000 7.4). It sits at 280° on the hue wheel with 99% saturation and 56% lightness, which reads as cool.

What is the RGB value of #b321fe?

rgb(179, 33, 254) — 179 red, 33 green and 254 blue out of 255, or 70.2% / 12.9% / 99.6% by channel.

Is #b321fe a light or a dark color?

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

Should I use black or white text on #b321fe?

White. It scores 4.60:1 against #b321fe, versus 4.57:1 for black — AA at any size.

What is the complementary color of #b321fe?

#6CFE21 sits directly opposite on the wheel. Softer options are the split-complements #DBFE21 and #21FE44, which give the same contrast with far less vibration.

What colors go well with #b321fe?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #804B9B for secondary text, #79CC00 as an accent and #54017F for hover and pressed states. For a palette, the analogous pair #4421FE and #FE21DB stays calm, while #6CFE21 is the loudest partner.

What is #b321fe in CMYK for printing?

cmyk(30%, 87%, 0%, 0%). 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 #b321fe warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FE21F8; nudged cooler, #6220FF.

Work with #b321fe in the Color Lab