Skip to content

#9b2dbf

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

RGB
155, 45, 191
HSL
285°, 62%, 46%
CMYK
19, 76, 0, 25
Luminance
0.1261

At a glance

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

Hex
#9b2dbf
Hue
285°
violet
Saturation
62%
vivid
Lightness
46%
balanced
Brightness
75%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1261
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.96:1
Closest name
Dark Orchid
ΔE2000 2.3
Where it sits
Hue285° of 360°
Saturation62%
Lightness46%
Temperature
Warm ← → Cool58% 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#9b2dbf
RGBrgb(155, 45, 191)
HSLhsl(285, 62%, 46%)
CMYKcmyk(19%, 76%, 0%, 25%)
LABlab(42.2 64.7 -54.5)
LCHlch(42.2 84.6 319.9)
OKLCHoklch(0.530 0.222 316.1)
Decimal10169791
Display P3color(display-p3 0.608 0.176 0.749)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9b2dbf on white: 5.96:1
AA ✓ pass · AA-large · AAA
Aa
#9b2dbf on black: 3.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DC3
deuteranopia · #2B66BC
tritanopia · #994E75

Color scale — 50 to 950

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

#F9F4FB
#F3E8F7
#E7CCF0
#D8A4EA
#C577DF
#B249D4
#9b2dbf
#8627A5
#6B1F84
#4F1A60
#31103C
Base = 600Lightest = 50 · #F9F4FBDarkest = 950 · #31103C
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E8F7;
  --brand-200: #E7CCF0;
  --brand-300: #D8A4EA;
  --brand-400: #C577DF;
  --brand-500: #B249D4;
  --brand-600: #9b2dbf;
  --brand-700: #8627A5;
  --brand-800: #6B1F84;
  --brand-900: #4F1A60;
  --brand-950: #31103C;
  --brand: #9b2dbf;
  --brand-ink: #ffffff;
}

Colors that work with #9b2dbf

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#E2C0ED
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#66A923
Second voice, not a rival
Dark variant#541867
Hover, pressed, headers
Light variant#F6EAFA
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 #9b2dbf

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#51BF2D
Analogous left#522DBF
Analogous right#BF2D9A
Split-complement 1#9ABF2D
Split-complement 2#2DBF52
Triadic 1#BF9B2D
Triadic 2#2DBF9B
Tetradic#BF522D

RGB percentages

Red60.8%
Green17.6%
Blue74.9%

CMYK percentages

Cyan18.8%
Magenta76.4%
Yellow0.0%
Key (black)25.1%

Color previews

#9b2dbf text on a black background

contrast 3.52:1

Card sample

#9b2dbf text on a white background

contrast 5.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9b2dbf

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.

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

#9b2dbf, answered

What color is #9b2dbf?

#9b2dbf is a balanced vivid violet, closest to Dark Orchid (ΔE2000 2.3). It sits at 285° on the hue wheel with 62% saturation and 46% lightness, which reads as cool.

What is the RGB value of #9b2dbf?

rgb(155, 45, 191) — 155 red, 45 green and 191 blue out of 255, or 60.8% / 17.6% / 74.9% by channel.

Is #9b2dbf a light or a dark color?

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

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

White. It scores 5.96:1 against #9b2dbf, versus 3.52:1 for black — AA at any size.

What is the complementary color of #9b2dbf?

#51BF2D sits directly opposite on the wheel. Softer options are the split-complements #9ABF2D and #2DBF52, which give the same contrast with far less vibration.

What colors go well with #9b2dbf?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #874B9B for secondary text, #66A923 as an accent and #541867 for hover and pressed states. For a palette, the analogous pair #522DBF and #BF2D9A stays calm, while #51BF2D is the loudest partner.

What is #9b2dbf in CMYK for printing?

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

Is #9b2dbf warm or cool?

Cool — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BF2DAE; nudged cooler, #652BC2.

Work with #9b2dbf in the Color Lab