Skip to content

#9a2eb3

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

RGB
154, 46, 179
HSL
289°, 59%, 44%
CMYK
14, 74, 0, 30
Luminance
0.1208

At a glance

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

Hex
#9a2eb3
Hue
289°
violet
Saturation
59%
vivid
Lightness
44%
dark
Brightness
70%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1208
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.15:1
Closest name
Dark Orchid
ΔE2000 4.1
Where it sits
Hue289° of 360°
Saturation59%
Lightness44%
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#9a2eb3
RGBrgb(154, 46, 179)
HSLhsl(289, 59%, 44%)
CMYKcmyk(14%, 74%, 0%, 30%)
LABlab(41.3 61.9 -48.8)
LCHlch(41.3 78.8 321.8)
OKLCHoklch(0.522 0.210 319.3)
Decimal10104499
Display P3color(display-p3 0.604 0.180 0.702)

Copy-ready code

/* CSS */
color: #9a2eb3;
background-color: #9a2eb3;
/* Tailwind (arbitrary) */
class="text-[#9a2eb3] bg-[#9a2eb3]"
/* SCSS */
$brand: #9a2eb3;
/* SwiftUI */
Color(red: 0.604, green: 0.180, blue: 0.702)
/* Android */
Color.parseColor("#9a2eb3")
/* Flutter */
Color(0xFF9A2EB3)
/* Python / OpenCV (BGR) */
(179, 46, 154)

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

Accessibility — WCAG contrast

Aa
#9a2eb3 on white: 6.15:1
AA ✓ pass · AA-large · AAA
Aa
#9a2eb3 on black: 3.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005AB7
deuteranopia · #3865B0
tritanopia · #9A496E

Color scale — 50 to 950

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

#FAF4FB
#F4E9F7
#E9CDEF
#DCA6E8
#CA79DD
#B84CD1
#9a2eb3
#8C2AA2
#702182
#521C5E
#33113B
Base = 600Lightest = 50 · #FAF4FBDarkest = 950 · #33113B
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F4E9F7;
  --brand-200: #E9CDEF;
  --brand-300: #DCA6E8;
  --brand-400: #CA79DD;
  --brand-500: #B84CD1;
  --brand-600: #9a2eb3;
  --brand-700: #8C2AA2;
  --brand-800: #702182;
  --brand-900: #521C5E;
  --brand-950: #33113B;
  --brand: #9a2eb3;
  --brand-ink: #ffffff;
}

Colors that work with #9a2eb3

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#E4C0ED
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#5FA725
Second voice, not a rival
Dark variant#571A65
Hover, pressed, headers
Light variant#F7EBFA
Selected rows, tints
Dark surface#211424
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 #9a2eb3

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#47B32E
Analogous left#572EB3
Analogous right#B32E89
Split-complement 1#89B32E
Split-complement 2#2EB357
Triadic 1#B39A2E
Triadic 2#2EB39A
Tetradic#B3572E

RGB percentages

Red60.4%
Green18.0%
Blue70.2%

CMYK percentages

Cyan14.0%
Magenta74.3%
Yellow0.0%
Key (black)29.8%

Color previews

#9a2eb3 text on a black background

contrast 3.42:1

Card sample

#9a2eb3 text on a white background

contrast 6.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(154, 46, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 46, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9a2eb3;
background: linear-gradient(135deg, #9a2eb3, #B32E73);

Monochromatic scale

Palettes built from #9a2eb3

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.

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

#9a2eb3, answered

What color is #9a2eb3?

#9a2eb3 is a dark vivid violet, closest to Dark Orchid (ΔE2000 4.1). It sits at 289° on the hue wheel with 59% saturation and 44% lightness, which reads as neutral.

What is the RGB value of #9a2eb3?

rgb(154, 46, 179) — 154 red, 46 green and 179 blue out of 255, or 60.4% / 18% / 70.2% by channel.

Is #9a2eb3 a light or a dark color?

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

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

White. It scores 6.15:1 against #9a2eb3, versus 3.42:1 for black — AA at any size.

What is the complementary color of #9a2eb3?

#47B32E sits directly opposite on the wheel. Softer options are the split-complements #89B32E and #2EB357, which give the same contrast with far less vibration.

What colors go well with #9a2eb3?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8C4B9B for secondary text, #5FA725 as an accent and #571A65 for hover and pressed states. For a palette, the analogous pair #572EB3 and #B32E89 stays calm, while #47B32E is the loudest partner.

What is #9a2eb3 in CMYK for printing?

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

Is #9a2eb3 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 #B32E9B; nudged cooler, #692CB5.

Work with #9a2eb3 in the Color Lab