Skip to content

#9a2ac3

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

RGB
154, 42, 195
HSL
284°, 65%, 47%
CMYK
21, 79, 0, 24
Luminance
0.1247

At a glance

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

Hex
#9a2ac3
Hue
284°
violet
Saturation
65%
vivid
Lightness
47%
balanced
Brightness
76%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1247
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.01:1
Closest name
Dark Orchid
ΔE2000 1.9
Where it sits
Hue284° of 360°
Saturation65%
Lightness47%
Temperature
Warm ← → Cool59% 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#9a2ac3
RGBrgb(154, 42, 195)
HSLhsl(284, 65%, 47%)
CMYKcmyk(21%, 79%, 0%, 24%)
LABlab(42.0 66.3 -57.2)
LCHlch(42.0 87.5 319.2)
OKLCHoklch(0.529 0.227 314.8)
Decimal10103491
Display P3color(display-p3 0.604 0.165 0.765)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9a2ac3 on white: 6.01:1
AA ✓ pass · AA-large · AAA
Aa
#9a2ac3 on black: 3.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DC7
deuteranopia · #2066C0
tritanopia · #964E77

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9a2ac3 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
#F3E8F7
#E7CBF1
#D8A3EB
#C474E1
#B046D7
#9a2ac3
#8524A8
#6A1D86
#4E1962
#31103D
Base = 600Lightest = 50 · #F9F3FBDarkest = 950 · #31103D
:root {
  --brand-50: #F9F3FB;
  --brand-100: #F3E8F7;
  --brand-200: #E7CBF1;
  --brand-300: #D8A3EB;
  --brand-400: #C474E1;
  --brand-500: #B046D7;
  --brand-600: #9a2ac3;
  --brand-700: #8524A8;
  --brand-800: #6A1D86;
  --brand-900: #4E1962;
  --brand-950: #31103D;
  --brand: #9a2ac3;
  --brand-ink: #ffffff;
}

Colors that work with #9a2ac3

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#E1C0ED
Hairlines and dividers
Muted text#854B9B
Captions on the surface
Accent#69AC20
Second voice, not a rival
Dark variant#531769
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 #9a2ac3

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#53C32A
Analogous left#4D2AC3
Analogous right#C32AA0
Split-complement 1#A0C32A
Split-complement 2#2AC34D
Triadic 1#C39A2A
Triadic 2#2AC39A
Tetradic#C34D2A

RGB percentages

Red60.4%
Green16.5%
Blue76.5%

CMYK percentages

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

Color previews

#9a2ac3 text on a black background

contrast 3.49:1

Card sample

#9a2ac3 text on a white background

contrast 6.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9a2ac3

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.

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

#9a2ac3, answered

What color is #9a2ac3?

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

What is the RGB value of #9a2ac3?

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

Is #9a2ac3 a light or a dark color?

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

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

White. It scores 6.01:1 against #9a2ac3, versus 3.49:1 for black — AA at any size.

What is the complementary color of #9a2ac3?

#53C32A sits directly opposite on the wheel. Softer options are the split-complements #A0C32A and #2AC34D, which give the same contrast with far less vibration.

What colors go well with #9a2ac3?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #854B9B for secondary text, #69AC20 as an accent and #531769 for hover and pressed states. For a palette, the analogous pair #4D2AC3 and #C32AA0 stays calm, while #53C32A is the loudest partner.

What is #9a2ac3 in CMYK for printing?

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

Is #9a2ac3 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C32AB4; nudged cooler, #6128C6.

Work with #9a2ac3 in the Color Lab