Skip to content

#9b2ab2

a dark, vivid violet · neutral · closest name: Dark Orchid

RGB
155, 42, 178
HSL
290°, 62%, 43%
CMYK
13, 76, 0, 30
Luminance
0.1184

At a glance

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

Hex
#9b2ab2
Hue
290°
violet
Saturation
62%
vivid
Lightness
43%
dark
Brightness
70%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1184
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.24:1
Closest name
Dark Orchid
ΔE2000 4.4
Where it sits
Hue290° of 360°
Saturation62%
Lightness43%
Temperature
Warm ← → Cool56% 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#9b2ab2
RGBrgb(155, 42, 178)
HSLhsl(290, 62%, 43%)
CMYKcmyk(13%, 76%, 0%, 30%)
LABlab(41.0 63.2 -48.8)
LCHlch(41.0 79.8 322.4)
OKLCHoklch(0.519 0.213 320.1)
Decimal10169010
Display P3color(display-p3 0.608 0.165 0.698)

Copy-ready code

/* CSS */
color: #9b2ab2;
background-color: #9b2ab2;
/* Tailwind (arbitrary) */
class="text-[#9b2ab2] bg-[#9b2ab2]"
/* SCSS */
$brand: #9b2ab2;
/* SwiftUI */
Color(red: 0.608, green: 0.165, blue: 0.698)
/* Android */
Color.parseColor("#9b2ab2")
/* Flutter */
Color(0xFF9B2AB2)
/* Python / OpenCV (BGR) */
(178, 42, 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 #9b2ab2 · 6.24:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.24:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.37:1
AA fail · AA large pass · AAA fail
Reading the other direction: #9b2ab2 as text scores 6.24:1 on white and 3.37:1 on black.

Accessibility — WCAG contrast

Aa
#9b2ab2 on white: 6.24:1
AA ✓ pass · AA-large · AAA
Aa
#9b2ab2 on black: 3.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0059B6
deuteranopia · #3764AF
tritanopia · #9C466D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9b2ab2 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF4FB
#F5E8F7
#EACCF0
#DEA4EA
#CD77DF
#BD49D4
#AD2FC6
#9b2ab2
#731F84
#541A60
#35113C
Base = 700Lightest = 50 · #FAF4FBDarkest = 950 · #35113C
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F5E8F7;
  --brand-200: #EACCF0;
  --brand-300: #DEA4EA;
  --brand-400: #CD77DF;
  --brand-500: #BD49D4;
  --brand-600: #AD2FC6;
  --brand-700: #9b2ab2;
  --brand-800: #731F84;
  --brand-900: #541A60;
  --brand-950: #35113C;
  --brand: #9b2ab2;
  --brand-ink: #ffffff;
}

Colors that work with #9b2ab2

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#E5C0ED
Hairlines and dividers
Muted text#8D4B9B
Captions on the surface
Accent#5BA923
Second voice, not a rival
Dark variant#5A1867
Hover, pressed, headers
Light variant#F7EAFA
Selected rows, tints
Dark surface#221424
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 #9b2ab2

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#41B22A
Analogous left#572AB2
Analogous right#B22A85
Split-complement 1#85B22A
Split-complement 2#2AB257
Triadic 1#B29B2A
Triadic 2#2AB29B
Tetradic#B2572A

RGB percentages

Red60.8%
Green16.5%
Blue69.8%

CMYK percentages

Cyan12.9%
Magenta76.4%
Yellow0.0%
Key (black)30.2%

Color previews

#9b2ab2 text on a black background

contrast 3.37:1

Card sample

#9b2ab2 text on a white background

contrast 6.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b2ab2

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.

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

#9b2ab2, answered

What color is #9b2ab2?

#9b2ab2 is a dark vivid violet, closest to Dark Orchid (ΔE2000 4.4). It sits at 290° on the hue wheel with 62% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #9b2ab2?

rgb(155, 42, 178) — 155 red, 42 green and 178 blue out of 255, or 60.8% / 16.5% / 69.8% by channel.

Is #9b2ab2 a light or a dark color?

It is a dark color. Relative luminance is 0.1184 and perceived brightness is 43%, so white text on it reaches 6.24:1.

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

White. It scores 6.24:1 against #9b2ab2, versus 3.37:1 for black — AA at any size.

What is the complementary color of #9b2ab2?

#41B22A sits directly opposite on the wheel. Softer options are the split-complements #85B22A and #2AB257, which give the same contrast with far less vibration.

What colors go well with #9b2ab2?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #5BA923 as an accent and #5A1867 for hover and pressed states. For a palette, the analogous pair #572AB2 and #B22A85 stays calm, while #41B22A is the loudest partner.

What is #9b2ab2 in CMYK for printing?

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

Is #9b2ab2 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B22A97; nudged cooler, #6928B4.

Work with #9b2ab2 in the Color Lab