Skip to content

#9f2acb

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

RGB
159, 42, 203
HSL
284°, 66%, 48%
CMYK
22, 79, 0, 20
Luminance
0.1334

At a glance

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

Hex
#9f2acb
Hue
284°
violet
Saturation
66%
vivid
Lightness
48%
balanced
Brightness
80%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1334
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.73:1
Closest name
Dark Orchid
ΔE2000 1.3
Where it sits
Hue284° of 360°
Saturation66%
Lightness48%
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#9f2acb
RGBrgb(159, 42, 203)
HSLhsl(284, 66%, 48%)
CMYKcmyk(22%, 79%, 0%, 20%)
LABlab(43.3 68.7 -59.6)
LCHlch(43.3 91.0 319.0)
OKLCHoklch(0.542 0.236 314.4)
Decimal10431179
Display P3color(display-p3 0.624 0.165 0.796)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9f2acb on white: 5.73:1
AA ✓ pass · AA-large · AAA
Aa
#9f2acb on black: 3.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0060CF
deuteranopia · #1B69C8
tritanopia · #9B517B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9f2acb 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
#F3E8F8
#E7CBF1
#D8A2EC
#C474E2
#B045D9
#9f2acb
#8423A9
#6A1C87
#4E1862
#310F3D
Base = 600Lightest = 50 · #F9F3FBDarkest = 950 · #310F3D
:root {
  --brand-50: #F9F3FB;
  --brand-100: #F3E8F8;
  --brand-200: #E7CBF1;
  --brand-300: #D8A2EC;
  --brand-400: #C474E2;
  --brand-500: #B045D9;
  --brand-600: #9f2acb;
  --brand-700: #8423A9;
  --brand-800: #6A1C87;
  --brand-900: #4E1862;
  --brand-950: #310F3D;
  --brand: #9f2acb;
  --brand-ink: #ffffff;
}

Colors that work with #9f2acb

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#E0C0ED
Hairlines and dividers
Muted text#854B9B
Captions on the surface
Accent#69AD1F
Second voice, not a rival
Dark variant#53166A
Hover, pressed, headers
Light variant#F6EAFB
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 #9f2acb

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#56CB2A
Analogous left#4E2ACB
Analogous right#CB2AA6
Split-complement 1#A6CB2A
Split-complement 2#2ACB4E
Triadic 1#CB9F2A
Triadic 2#2ACB9F
Tetradic#CB4E2A

RGB percentages

Red62.4%
Green16.5%
Blue79.6%

CMYK percentages

Cyan21.7%
Magenta79.3%
Yellow0.0%
Key (black)20.4%

Color previews

#9f2acb text on a black background

contrast 3.67:1

Card sample

#9f2acb text on a white background

contrast 5.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9f2acb

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.

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

#9f2acb, answered

What color is #9f2acb?

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

What is the RGB value of #9f2acb?

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

Is #9f2acb a light or a dark color?

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

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

White. It scores 5.73:1 against #9f2acb, versus 3.67:1 for black — AA at any size.

What is the complementary color of #9f2acb?

#56CB2A sits directly opposite on the wheel. Softer options are the split-complements #A6CB2A and #2ACB4E, which give the same contrast with far less vibration.

What colors go well with #9f2acb?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #854B9B for secondary text, #69AD1F as an accent and #53166A for hover and pressed states. For a palette, the analogous pair #4E2ACB and #CB2AA6 stays calm, while #56CB2A is the loudest partner.

What is #9f2acb in CMYK for printing?

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

Is #9f2acb 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 #CB2ABC; nudged cooler, #6328CD.

Work with #9f2acb in the Color Lab