Skip to content

#9c3eb2

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

RGB
156, 62, 178
HSL
289°, 48%, 47%
CMYK
12, 65, 0, 30
Luminance
0.1373

At a glance

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

Hex
#9c3eb2
Hue
289°
violet
Saturation
48%
vivid
Lightness
47%
balanced
Brightness
70%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1373
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.61:1
Closest name
Dark Orchid
ΔE2000 4.8
Where it sits
Hue289° of 360°
Saturation48%
Lightness47%
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#9c3eb2
RGBrgb(156, 62, 178)
HSLhsl(289, 48%, 47%)
CMYKcmyk(12%, 65%, 0%, 30%)
LABlab(43.8 55.7 -44.1)
LCHlch(43.8 71.1 321.6)
OKLCHoklch(0.540 0.190 319.5)
Decimal10239666
Display P3color(display-p3 0.612 0.243 0.698)

Copy-ready code

/* CSS */
color: #9c3eb2;
background-color: #9c3eb2;
/* Tailwind (arbitrary) */
class="text-[#9c3eb2] bg-[#9c3eb2]"
/* SCSS */
$brand: #9c3eb2;
/* SwiftUI */
Color(red: 0.612, green: 0.243, blue: 0.698)
/* Android */
Color.parseColor("#9c3eb2")
/* Flutter */
Color(0xFF9C3EB2)
/* Python / OpenCV (BGR) */
(178, 62, 156)

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

Accessibility — WCAG contrast

Aa
#9c3eb2 on white: 5.61:1
AA ✓ pass · AA-large · AAA
Aa
#9c3eb2 on black: 3.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1A61B5
deuteranopia · #466BAF
tritanopia · #9C5273

Color scale — 50 to 950

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

#F9F4FA
#F3EAF5
#E7D0EC
#D8ACE2
#C482D3
#B059C5
#9c3eb2
#853597
#6A2A79
#4E2258
#311537
Base = 600Lightest = 50 · #F9F4FADarkest = 950 · #311537
:root {
  --brand-50: #F9F4FA;
  --brand-100: #F3EAF5;
  --brand-200: #E7D0EC;
  --brand-300: #D8ACE2;
  --brand-400: #C482D3;
  --brand-500: #B059C5;
  --brand-600: #9c3eb2;
  --brand-700: #853597;
  --brand-800: #6A2A79;
  --brand-900: #4E2258;
  --brand-950: #311537;
  --brand: #9c3eb2;
  --brand-ink: #ffffff;
}

Colors that work with #9c3eb2

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#E2C2EA
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#609C30
Second voice, not a rival
Dark variant#53215F
Hover, pressed, headers
Light variant#F6ECF8
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 #9c3eb2

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#54B23E
Analogous left#623EB2
Analogous right#B23E8E
Split-complement 1#8EB23E
Split-complement 2#3EB262
Triadic 1#B29C3E
Triadic 2#3EB29C
Tetradic#B2623E

RGB percentages

Red61.2%
Green24.3%
Blue69.8%

CMYK percentages

Cyan12.4%
Magenta65.2%
Yellow0.0%
Key (black)30.2%

Color previews

#9c3eb2 text on a black background

contrast 3.75:1

Card sample

#9c3eb2 text on a white background

contrast 5.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9c3eb2

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.

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

#9c3eb2, answered

What color is #9c3eb2?

#9c3eb2 is a balanced vivid violet, closest to Dark Orchid (ΔE2000 4.8). It sits at 289° on the hue wheel with 48% saturation and 47% lightness, which reads as neutral.

What is the RGB value of #9c3eb2?

rgb(156, 62, 178) — 156 red, 62 green and 178 blue out of 255, or 61.2% / 24.3% / 69.8% by channel.

Is #9c3eb2 a light or a dark color?

It is a dark color. Relative luminance is 0.1373 and perceived brightness is 45%, so white text on it reaches 5.61:1.

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

White. It scores 5.61:1 against #9c3eb2, versus 3.75:1 for black — AA at any size.

What is the complementary color of #9c3eb2?

#54B23E sits directly opposite on the wheel. Softer options are the split-complements #8EB23E and #3EB262, which give the same contrast with far less vibration.

What colors go well with #9c3eb2?

For interface work: #F9F4FA as the surface, #E2C2EA for borders, #8C4B9B for secondary text, #609C30 as an accent and #53215F for hover and pressed states. For a palette, the analogous pair #623EB2 and #B23E8E stays calm, while #54B23E is the loudest partner.

What is #9c3eb2 in CMYK for printing?

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

Is #9c3eb2 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 #B23E9E; nudged cooler, #713CB5.

Work with #9c3eb2 in the Color Lab