Skip to content

#8b3bc9

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

RGB
139, 59, 201
HSL
274°, 57%, 51%
CMYK
31, 71, 0, 21
Luminance
0.1283

At a glance

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

Hex
#8b3bc9
Hue
274°
violet
Saturation
57%
vivid
Lightness
51%
balanced
Brightness
79%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1283
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.89:1
Closest name
Dark Orchid
ΔE2000 2.5
Where it sits
Hue274° of 360°
Saturation57%
Lightness51%
Temperature
Warm ← → Cool65% 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#8b3bc9
RGBrgb(139, 59, 201)
HSLhsl(274, 57%, 51%)
CMYKcmyk(31%, 71%, 0%, 21%)
LABlab(42.5 58.2 -59.9)
LCHlch(42.5 83.5 314.2)
OKLCHoklch(0.530 0.210 306.2)
Decimal9124809
Display P3color(display-p3 0.545 0.231 0.788)

Copy-ready code

/* CSS */
color: #8b3bc9;
background-color: #8b3bc9;
/* Tailwind (arbitrary) */
class="text-[#8b3bc9] bg-[#8b3bc9]"
/* SCSS */
$brand: #8b3bc9;
/* SwiftUI */
Color(red: 0.545, green: 0.231, blue: 0.788)
/* Android */
Color.parseColor("#8b3bc9")
/* Flutter */
Color(0xFF8B3BC9)
/* Python / OpenCV (BGR) */
(201, 59, 139)

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

Accessibility — WCAG contrast

Aa
#8b3bc9 on white: 5.89:1
AA ✓ pass · AA-large · AAA
Aa
#8b3bc9 on black: 3.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0062CD
deuteranopia · #0065C6
tritanopia · #805C7E

Color scale — 50 to 950

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

#F8F4FB
#F1E9F6
#E0CDEE
#CBA7E7
#B17BDB
#974FCF
#8b3bc9
#6D2CA0
#572380
#411D5D
#29123A
Base = 600Lightest = 50 · #F8F4FBDarkest = 950 · #29123A
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F1E9F6;
  --brand-200: #E0CDEE;
  --brand-300: #CBA7E7;
  --brand-400: #B17BDB;
  --brand-500: #974FCF;
  --brand-600: #8b3bc9;
  --brand-700: #6D2CA0;
  --brand-800: #572380;
  --brand-900: #411D5D;
  --brand-950: #29123A;
  --brand: #8b3bc9;
  --brand-ink: #ffffff;
}

Colors that work with #8b3bc9

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#D9C0ED
Hairlines and dividers
Muted text#784B9B
Captions on the surface
Accent#7DA428
Second voice, not a rival
Dark variant#441C64
Hover, pressed, headers
Light variant#F3EBF9
Selected rows, tints
Dark surface#1D1424
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 #8b3bc9

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#79C93B
Analogous left#443BC9
Analogous right#C93BC0
Split-complement 1#C0C93B
Split-complement 2#3BC944
Triadic 1#C98B3B
Triadic 2#3BC98B
Tetradic#C9443B

RGB percentages

Red54.5%
Green23.1%
Blue78.8%

CMYK percentages

Cyan30.8%
Magenta70.6%
Yellow0.0%
Key (black)21.2%

Color previews

#8b3bc9 text on a black background

contrast 3.57:1

Card sample

#8b3bc9 text on a white background

contrast 5.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(139, 59, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(139, 59, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8b3bc9;
background: linear-gradient(135deg, #8b3bc9, #C93BA8);

Monochromatic scale

Palettes built from #8b3bc9

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.

#8b3bc9 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

Converts to four-color process without much drama. Proof it anyway.

#8b3bc9, answered

What color is #8b3bc9?

#8b3bc9 is a balanced vivid violet, closest to Dark Orchid (ΔE2000 2.5). It sits at 274° on the hue wheel with 57% saturation and 51% lightness, which reads as cool.

What is the RGB value of #8b3bc9?

rgb(139, 59, 201) — 139 red, 59 green and 201 blue out of 255, or 54.5% / 23.1% / 78.8% by channel.

Is #8b3bc9 a light or a dark color?

It is a dark color. Relative luminance is 0.1283 and perceived brightness is 44%, so white text on it reaches 5.89:1.

Should I use black or white text on #8b3bc9?

White. It scores 5.89:1 against #8b3bc9, versus 3.57:1 for black — AA at any size.

What is the complementary color of #8b3bc9?

#79C93B sits directly opposite on the wheel. Softer options are the split-complements #C0C93B and #3BC944, which give the same contrast with far less vibration.

What colors go well with #8b3bc9?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #784B9B for secondary text, #7DA428 as an accent and #441C64 for hover and pressed states. For a palette, the analogous pair #443BC9 and #C93BC0 stays calm, while #79C93B is the loudest partner.

What is #8b3bc9 in CMYK for printing?

cmyk(31%, 71%, 0%, 21%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #8b3bc9 warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BF3BC9; nudged cooler, #5539CC.

Work with #8b3bc9 in the Color Lab