Skip to content

#9f2ac0

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

RGB
159, 42, 192
HSL
287°, 64%, 46%
CMYK
17, 78, 0, 25
Luminance
0.1283

At a glance

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

Hex
#9f2ac0
Hue
287°
violet
Saturation
64%
vivid
Lightness
46%
balanced
Brightness
75%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1283
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.89:1
Closest name
Dark Orchid
ΔE2000 2.5
Where it sits
Hue287° of 360°
Saturation64%
Lightness46%
Temperature
Warm ← → Cool57% 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#9f2ac0
RGBrgb(159, 42, 192)
HSLhsl(287, 64%, 46%)
CMYKcmyk(17%, 78%, 0%, 25%)
LABlab(42.5 66.6 -54.5)
LCHlch(42.5 86.0 320.7)
OKLCHoklch(0.534 0.227 317.4)
Decimal10431168
Display P3color(display-p3 0.624 0.165 0.753)

Copy-ready code

/* CSS */
color: #9f2ac0;
background-color: #9f2ac0;
/* Tailwind (arbitrary) */
class="text-[#9f2ac0] bg-[#9f2ac0]"
/* SCSS */
$brand: #9f2ac0;
/* SwiftUI */
Color(red: 0.624, green: 0.165, blue: 0.753)
/* Android */
Color.parseColor("#9f2ac0")
/* Flutter */
Color(0xFF9F2AC0)
/* Python / OpenCV (BGR) */
(192, 42, 159)

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 #9f2ac0 · 5.89:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.89: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: #9f2ac0 as text scores 5.89:1 on white and 3.57:1 on black.

Accessibility — WCAG contrast

Aa
#9f2ac0 on white: 5.89:1
AA ✓ pass · AA-large · AAA
Aa
#9f2ac0 on black: 3.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DC4
deuteranopia · #2E68BD
tritanopia · #9D4C75

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9f2ac0 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
#F4E8F7
#E8CBF1
#DBA3EB
#C975E1
#B747D7
#9f2ac0
#8B25A7
#6F1D86
#511961
#33103D
Base = 600Lightest = 50 · #F9F4FBDarkest = 950 · #33103D
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F4E8F7;
  --brand-200: #E8CBF1;
  --brand-300: #DBA3EB;
  --brand-400: #C975E1;
  --brand-500: #B747D7;
  --brand-600: #9f2ac0;
  --brand-700: #8B25A7;
  --brand-800: #6F1D86;
  --brand-900: #511961;
  --brand-950: #33103D;
  --brand: #9f2ac0;
  --brand-ink: #ffffff;
}

Colors that work with #9f2ac0

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#E3C0ED
Hairlines and dividers
Muted text#894B9B
Captions on the surface
Accent#62AC20
Second voice, not a rival
Dark variant#571769
Hover, pressed, headers
Light variant#F7EAFA
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 #9f2ac0

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#4BC02A
Analogous left#542AC0
Analogous right#C02A96
Split-complement 1#96C02A
Split-complement 2#2AC054
Triadic 1#C09F2A
Triadic 2#2AC09F
Tetradic#C0542A

RGB percentages

Red62.4%
Green16.5%
Blue75.3%

CMYK percentages

Cyan17.2%
Magenta78.1%
Yellow0.0%
Key (black)24.7%

Color previews

#9f2ac0 text on a black background

contrast 3.57:1

Card sample

#9f2ac0 text on a white background

contrast 5.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9f2ac0

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.

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

#9f2ac0, answered

What color is #9f2ac0?

#9f2ac0 is a balanced vivid violet, closest to Dark Orchid (ΔE2000 2.5). It sits at 287° on the hue wheel with 64% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #9f2ac0?

rgb(159, 42, 192) — 159 red, 42 green and 192 blue out of 255, or 62.4% / 16.5% / 75.3% by channel.

Is #9f2ac0 a light or a dark color?

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

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

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

What is the complementary color of #9f2ac0?

#4BC02A sits directly opposite on the wheel. Softer options are the split-complements #96C02A and #2AC054, which give the same contrast with far less vibration.

What colors go well with #9f2ac0?

For interface work: #F9F4FA as the surface, #E3C0ED for borders, #894B9B for secondary text, #62AC20 as an accent and #571769 for hover and pressed states. For a palette, the analogous pair #542AC0 and #C02A96 stays calm, while #4BC02A is the loudest partner.

What is #9f2ac0 in CMYK for printing?

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

Is #9f2ac0 warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C02AAA; nudged cooler, #6828C2.

Work with #9f2ac0 in the Color Lab