Skip to content

#9e2ac3

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

RGB
158, 42, 195
HSL
286°, 65%, 47%
CMYK
19, 79, 0, 24
Luminance
0.1287

At a glance

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

Hex
#9e2ac3
Hue
286°
violet
Saturation
65%
vivid
Lightness
47%
balanced
Brightness
76%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1287
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.88:1
Closest name
Dark Orchid
ΔE2000 2
Where it sits
Hue286° of 360°
Saturation65%
Lightness47%
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#9e2ac3
RGBrgb(158, 42, 195)
HSLhsl(286, 65%, 47%)
CMYKcmyk(19%, 79%, 0%, 24%)
LABlab(42.6 67.0 -56.2)
LCHlch(42.6 87.4 320.0)
OKLCHoklch(0.535 0.229 316.2)
Decimal10365635
Display P3color(display-p3 0.620 0.165 0.765)

Copy-ready code

/* CSS */
color: #9e2ac3;
background-color: #9e2ac3;
/* Tailwind (arbitrary) */
class="text-[#9e2ac3] bg-[#9e2ac3]"
/* SCSS */
$brand: #9e2ac3;
/* SwiftUI */
Color(red: 0.620, green: 0.165, blue: 0.765)
/* Android */
Color.parseColor("#9e2ac3")
/* Flutter */
Color(0xFF9E2AC3)
/* Python / OpenCV (BGR) */
(195, 42, 158)

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

Accessibility — WCAG contrast

Aa
#9e2ac3 on white: 5.88:1
AA ✓ pass · AA-large · AAA
Aa
#9e2ac3 on black: 3.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005EC7
deuteranopia · #2868C0
tritanopia · #9B4E77

Color scale — 50 to 950

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

#F9F3FB
#F4E8F7
#E8CBF1
#DAA3EB
#C774E1
#B446D7
#9e2ac3
#8824A8
#6D1D86
#501962
#32103D
Base = 600Lightest = 50 · #F9F3FBDarkest = 950 · #32103D
:root {
  --brand-50: #F9F3FB;
  --brand-100: #F4E8F7;
  --brand-200: #E8CBF1;
  --brand-300: #DAA3EB;
  --brand-400: #C774E1;
  --brand-500: #B446D7;
  --brand-600: #9e2ac3;
  --brand-700: #8824A8;
  --brand-800: #6D1D86;
  --brand-900: #501962;
  --brand-950: #32103D;
  --brand: #9e2ac3;
  --brand-ink: #ffffff;
}

Colors that work with #9e2ac3

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#884B9B
Captions on the surface
Accent#65AC20
Second voice, not a rival
Dark variant#551769
Hover, pressed, headers
Light variant#F7EAFA
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 #9e2ac3

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#4FC32A
Analogous left#522AC3
Analogous right#C32A9C
Split-complement 1#9CC32A
Split-complement 2#2AC352
Triadic 1#C39E2A
Triadic 2#2AC39E
Tetradic#C3522A

RGB percentages

Red62.0%
Green16.5%
Blue76.5%

CMYK percentages

Cyan19.0%
Magenta78.5%
Yellow0.0%
Key (black)23.5%

Color previews

#9e2ac3 text on a black background

contrast 3.57:1

Card sample

#9e2ac3 text on a white background

contrast 5.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9e2ac3

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.

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

#9e2ac3, answered

What color is #9e2ac3?

#9e2ac3 is a balanced vivid violet, closest to Dark Orchid (ΔE2000 2). It sits at 286° on the hue wheel with 65% saturation and 47% lightness, which reads as cool.

What is the RGB value of #9e2ac3?

rgb(158, 42, 195) — 158 red, 42 green and 195 blue out of 255, or 62% / 16.5% / 76.5% by channel.

Is #9e2ac3 a light or a dark color?

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

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

White. It scores 5.88:1 against #9e2ac3, versus 3.57:1 for black — AA at any size.

What is the complementary color of #9e2ac3?

#4FC32A sits directly opposite on the wheel. Softer options are the split-complements #9CC32A and #2AC352, which give the same contrast with far less vibration.

What colors go well with #9e2ac3?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #65AC20 as an accent and #551769 for hover and pressed states. For a palette, the analogous pair #522AC3 and #C32A9C stays calm, while #4FC32A is the loudest partner.

What is #9e2ac3 in CMYK for printing?

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

Is #9e2ac3 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 #C32AB0; nudged cooler, #6528C6.

Work with #9e2ac3 in the Color Lab