Skip to content

#8f2cac

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

RGB
143, 44, 172
HSL
286°, 59%, 42%
CMYK
17, 74, 0, 33
Luminance
0.1062

At a glance

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

Hex
#8f2cac
Hue
286°
violet
Saturation
59%
vivid
Lightness
42%
dark
Brightness
67%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1062
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.72:1
Closest name
Dark Orchid
ΔE2000 5.2
Where it sits
Hue286° of 360°
Saturation59%
Lightness42%
Temperature
Warm ← → Cool58% 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#8f2cac
RGBrgb(143, 44, 172)
HSLhsl(286, 59%, 42%)
CMYKcmyk(17%, 74%, 0%, 33%)
LABlab(38.9 59.0 -48.6)
LCHlch(38.9 76.4 320.5)
OKLCHoklch(0.500 0.202 317.3)
Decimal9383084
Display P3color(display-p3 0.561 0.173 0.675)

Copy-ready code

/* CSS */
color: #8f2cac;
background-color: #8f2cac;
/* Tailwind (arbitrary) */
class="text-[#8f2cac] bg-[#8f2cac]"
/* SCSS */
$brand: #8f2cac;
/* SwiftUI */
Color(red: 0.561, green: 0.173, blue: 0.675)
/* Android */
Color.parseColor("#8f2cac")
/* Flutter */
Color(0xFF8F2CAC)
/* Python / OpenCV (BGR) */
(172, 44, 143)

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

Accessibility — WCAG contrast

Aa
#8f2cac on white: 6.72:1
AA ✓ pass · AA-large · AAA
Aa
#8f2cac on black: 3.12:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0056B0
deuteranopia · #2F5FA9
tritanopia · #8E476A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #8f2cac is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F4FB
#F4E9F7
#E7CDEF
#D9A6E8
#C679DD
#B34CD1
#A232C3
#8f2cac
#6C2182
#4F1C5F
#32113B
Base = 700Lightest = 50 · #F9F4FBDarkest = 950 · #32113B
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F4E9F7;
  --brand-200: #E7CDEF;
  --brand-300: #D9A6E8;
  --brand-400: #C679DD;
  --brand-500: #B34CD1;
  --brand-600: #A232C3;
  --brand-700: #8f2cac;
  --brand-800: #6C2182;
  --brand-900: #4F1C5F;
  --brand-950: #32113B;
  --brand: #8f2cac;
  --brand-ink: #ffffff;
}

Colors that work with #8f2cac

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#894B9B
Captions on the surface
Accent#63A626
Second voice, not a rival
Dark variant#541A66
Hover, pressed, headers
Light variant#F6EBFA
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 #8f2cac

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#49AC2C
Analogous left#4F2CAC
Analogous right#AC2C89
Split-complement 1#89AC2C
Split-complement 2#2CAC4F
Triadic 1#AC8F2C
Triadic 2#2CAC8F
Tetradic#AC4F2C

RGB percentages

Red56.1%
Green17.3%
Blue67.5%

CMYK percentages

Cyan16.9%
Magenta74.4%
Yellow0.0%
Key (black)32.5%

Color previews

#8f2cac text on a black background

contrast 3.12:1

Card sample

#8f2cac text on a white background

contrast 6.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8f2cac;
Background color
Panel with #8f2cac background
background-color: #8f2cac;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 44, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 44, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f2cac;
background: linear-gradient(135deg, #8f2cac, #AC2C74);

Monochromatic scale

Palettes built from #8f2cac

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.

#8f2cac 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.

#8f2cac, answered

What color is #8f2cac?

#8f2cac is a dark vivid violet, closest to Dark Orchid (ΔE2000 5.2). It sits at 286° on the hue wheel with 59% saturation and 42% lightness, which reads as neutral.

What is the RGB value of #8f2cac?

rgb(143, 44, 172) — 143 red, 44 green and 172 blue out of 255, or 56.1% / 17.3% / 67.5% by channel.

Is #8f2cac a light or a dark color?

It is a dark color. Relative luminance is 0.1062 and perceived brightness is 40%, so white text on it reaches 6.72:1.

Should I use black or white text on #8f2cac?

White. It scores 6.72:1 against #8f2cac, versus 3.12:1 for black — AA at any size.

What is the complementary color of #8f2cac?

#49AC2C sits directly opposite on the wheel. Softer options are the split-complements #89AC2C and #2CAC4F, which give the same contrast with far less vibration.

What colors go well with #8f2cac?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #894B9B for secondary text, #63A626 as an accent and #541A66 for hover and pressed states. For a palette, the analogous pair #4F2CAC and #AC2C89 stays calm, while #49AC2C is the loudest partner.

What is #8f2cac in CMYK for printing?

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

Is #8f2cac warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AC2C9A; nudged cooler, #602AAE.

Work with #8f2cac in the Color Lab