Skip to content

#873abc

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

RGB
135, 58, 188
HSL
276°, 53%, 48%
CMYK
28, 69, 0, 26
Luminance
0.1181

At a glance

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

Hex
#873abc
Hue
276°
violet
Saturation
53%
vivid
Lightness
48%
balanced
Brightness
74%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1181
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.25:1
Closest name
Dark Orchid
ΔE2000 3.5
Where it sits
Hue276° of 360°
Saturation53%
Lightness48%
Temperature
Warm ← → Cool64% 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#873abc
RGBrgb(135, 58, 188)
HSLhsl(276, 53%, 48%)
CMYKcmyk(28%, 69%, 0%, 26%)
LABlab(40.9 54.9 -54.9)
LCHlch(40.9 77.7 315.0)
OKLCHoklch(0.515 0.198 308.0)
Decimal8862396
Display P3color(display-p3 0.529 0.227 0.737)

Copy-ready code

/* CSS */
color: #873abc;
background-color: #873abc;
/* Tailwind (arbitrary) */
class="text-[#873abc] bg-[#873abc]"
/* SCSS */
$brand: #873abc;
/* SwiftUI */
Color(red: 0.529, green: 0.227, blue: 0.737)
/* Android */
Color.parseColor("#873abc")
/* Flutter */
Color(0xFF873ABC)
/* Python / OpenCV (BGR) */
(188, 58, 135)

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

Accessibility — WCAG contrast

Aa
#873abc on white: 6.25:1
AA ✓ pass · AA-large · AAA
Aa
#873abc on black: 3.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005EC0
deuteranopia · #1B61B9
tritanopia · #7F5777

Color scale — 50 to 950

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

#F8F4FB
#F1E9F6
#E1CEED
#CCA9E5
#B37ED7
#9A54CA
#873abc
#70309C
#59277D
#431F5B
#2A1439
Base = 600Lightest = 50 · #F8F4FBDarkest = 950 · #2A1439
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F1E9F6;
  --brand-200: #E1CEED;
  --brand-300: #CCA9E5;
  --brand-400: #B37ED7;
  --brand-500: #9A54CA;
  --brand-600: #873abc;
  --brand-700: #70309C;
  --brand-800: #59277D;
  --brand-900: #431F5B;
  --brand-950: #2A1439;
  --brand: #873abc;
  --brand-ink: #ffffff;
}

Colors that work with #873abc

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#F8F4FA
Tinted page background
Border#DAC1EC
Hairlines and dividers
Muted text#7A4B9B
Captions on the surface
Accent#78A02C
Second voice, not a rival
Dark variant#461E61
Hover, pressed, headers
Light variant#F3ECF9
Selected rows, tints
Dark surface#1E1424
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 #873abc

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#6FBC3A
Analogous left#463ABC
Analogous right#BC3AB0
Split-complement 1#B0BC3A
Split-complement 2#3ABC46
Triadic 1#BC873A
Triadic 2#3ABC87
Tetradic#BC463A

RGB percentages

Red52.9%
Green22.7%
Blue73.7%

CMYK percentages

Cyan28.2%
Magenta69.1%
Yellow0.0%
Key (black)26.3%

Color previews

#873abc text on a black background

contrast 3.36:1

Card sample

#873abc text on a white background

contrast 6.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #873abc;
Background color
Panel with #873abc background
background-color: #873abc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #873abc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(135, 58, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(135, 58, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #873abc;
background: linear-gradient(135deg, #873abc, #BC3A9A);

Monochromatic scale

Palettes built from #873abc

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.

#873abc 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.

#873abc, answered

What color is #873abc?

#873abc is a balanced vivid violet, closest to Dark Orchid (ΔE2000 3.5). It sits at 276° on the hue wheel with 53% saturation and 48% lightness, which reads as cool.

What is the RGB value of #873abc?

rgb(135, 58, 188) — 135 red, 58 green and 188 blue out of 255, or 52.9% / 22.7% / 73.7% by channel.

Is #873abc a light or a dark color?

It is a dark color. Relative luminance is 0.1181 and perceived brightness is 42%, so white text on it reaches 6.25:1.

Should I use black or white text on #873abc?

White. It scores 6.25:1 against #873abc, versus 3.36:1 for black — AA at any size.

What is the complementary color of #873abc?

#6FBC3A sits directly opposite on the wheel. Softer options are the split-complements #B0BC3A and #3ABC46, which give the same contrast with far less vibration.

What colors go well with #873abc?

For interface work: #F8F4FA as the surface, #DAC1EC for borders, #7A4B9B for secondary text, #78A02C as an accent and #461E61 for hover and pressed states. For a palette, the analogous pair #463ABC and #BC3AB0 stays calm, while #6FBC3A is the loudest partner.

What is #873abc in CMYK for printing?

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

Is #873abc warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B63ABC; nudged cooler, #5638BE.

Work with #873abc in the Color Lab