Skip to content

#9b4bc8

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

RGB
155, 75, 200
HSL
278°, 53%, 54%
CMYK
23, 63, 0, 22
Luminance
0.1617

At a glance

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

Hex
#9b4bc8
Hue
278°
violet
Saturation
53%
vivid
Lightness
54%
balanced
Brightness
78%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1617
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
4.96:1
Closest name
Dark Orchid
ΔE2000 4.7
Where it sits
Hue278° of 360°
Saturation53%
Lightness54%
Temperature
Warm ← → Cool62% 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#9b4bc8
RGBrgb(155, 75, 200)
HSLhsl(278, 53%, 54%)
CMYKcmyk(23%, 63%, 0%, 22%)
LABlab(47.2 54.1 -51.6)
LCHlch(47.2 74.8 316.3)
OKLCHoklch(0.568 0.193 311.2)
Decimal10177480
Display P3color(display-p3 0.608 0.294 0.784)

Copy-ready code

/* CSS */
color: #9b4bc8;
background-color: #9b4bc8;
/* Tailwind (arbitrary) */
class="text-[#9b4bc8] bg-[#9b4bc8]"
/* SCSS */
$brand: #9b4bc8;
/* SwiftUI */
Color(red: 0.608, green: 0.294, blue: 0.784)
/* Android */
Color.parseColor("#9b4bc8")
/* Flutter */
Color(0xFF9B4BC8)
/* Python / OpenCV (BGR) */
(200, 75, 155)

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

Accessibility — WCAG contrast

Aa
#9b4bc8 on white: 4.96:1
AA ✓ pass · AA-large · AAA
Aa
#9b4bc8 on black: 4.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #116CCC
deuteranopia · #3F71C5
tritanopia · #966383

Color scale — 50 to 950

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

#F8F4FB
#F1E9F6
#E2CEED
#CFA9E5
#B77ED8
#9b4bc8
#8D39BC
#75309C
#5E267D
#461F5B
#2B1439
Base = 500Lightest = 50 · #F8F4FBDarkest = 950 · #2B1439
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F1E9F6;
  --brand-200: #E2CEED;
  --brand-300: #CFA9E5;
  --brand-400: #B77ED8;
  --brand-500: #9b4bc8;
  --brand-600: #8D39BC;
  --brand-700: #75309C;
  --brand-800: #5E267D;
  --brand-900: #461F5B;
  --brand-950: #2B1439;
  --brand: #9b4bc8;
  --brand-ink: #ffffff;
}

Colors that work with #9b4bc8

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#DCC0EC
Hairlines and dividers
Muted text#7E4B9B
Captions on the surface
Accent#72A12B
Second voice, not a rival
Dark variant#491E62
Hover, pressed, headers
Light variant#F4EBF9
Selected rows, tints
Dark surface#1E1424
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 #9b4bc8

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#78C84B
Analogous left#5C4BC8
Analogous right#C84BB6
Split-complement 1#B6C84B
Split-complement 2#4BC85C
Triadic 1#C89B4B
Triadic 2#4BC89B
Tetradic#C85C4B

RGB percentages

Red60.8%
Green29.4%
Blue78.4%

CMYK percentages

Cyan22.5%
Magenta62.5%
Yellow0.0%
Key (black)21.6%

Color previews

#9b4bc8 text on a black background

contrast 4.23:1

Card sample

#9b4bc8 text on a white background

contrast 4.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 75, 200, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 75, 200, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b4bc8;
background: linear-gradient(135deg, #9b4bc8, #C84BA2);

Monochromatic scale

Palettes built from #9b4bc8

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.

#9b4bc8 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.

#9b4bc8, answered

What color is #9b4bc8?

#9b4bc8 is a balanced vivid violet, closest to Dark Orchid (ΔE2000 4.7). It sits at 278° on the hue wheel with 53% saturation and 54% lightness, which reads as cool.

What is the RGB value of #9b4bc8?

rgb(155, 75, 200) — 155 red, 75 green and 200 blue out of 255, or 60.8% / 29.4% / 78.4% by channel.

Is #9b4bc8 a light or a dark color?

It is a dark color. Relative luminance is 0.1617 and perceived brightness is 48%, so white text on it reaches 4.96:1.

Should I use black or white text on #9b4bc8?

White. It scores 4.96:1 against #9b4bc8, versus 4.23:1 for black — AA at any size.

What is the complementary color of #9b4bc8?

#78C84B sits directly opposite on the wheel. Softer options are the split-complements #B6C84B and #4BC85C, which give the same contrast with far less vibration.

What colors go well with #9b4bc8?

For interface work: #F8F4FA as the surface, #DCC0EC for borders, #7E4B9B for secondary text, #72A12B as an accent and #491E62 for hover and pressed states. For a palette, the analogous pair #5C4BC8 and #C84BB6 stays calm, while #78C84B is the loudest partner.

What is #9b4bc8 in CMYK for printing?

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

Is #9b4bc8 warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C84BC7; nudged cooler, #6C49CA.

Work with #9b4bc8 in the Color Lab