Skip to content

#8e4792

a dark, soft magenta / pink · neutral · closest name: Dark Magenta

RGB
142, 71, 146
HSL
297°, 35%, 43%
CMYK
3, 51, 0, 43
Luminance
0.1233

At a glance

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

Hex
#8e4792
Hue
297°
magenta / pink
Saturation
35%
soft
Lightness
43%
dark
Brightness
57%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1233
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
White
6.06:1
Closest name
Dark Magenta
ΔE2000 10
Where it sits
Hue297° of 360°
Saturation35%
Lightness43%
Temperature
Warm ← → Cool52% 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#8e4792
RGBrgb(142, 71, 146)
HSLhsl(297, 35%, 43%)
CMYKcmyk(3%, 51%, 0%, 43%)
LABlab(41.7 41.4 -28.5)
LCHlch(41.7 50.3 325.4)
OKLCHoklch(0.515 0.138 325.3)
Decimal9324434
Display P3color(display-p3 0.557 0.278 0.573)

Copy-ready code

/* CSS */
color: #8e4792;
background-color: #8e4792;
/* Tailwind (arbitrary) */
class="text-[#8e4792] bg-[#8e4792]"
/* SCSS */
$brand: #8e4792;
/* SwiftUI */
Color(red: 0.557, green: 0.278, blue: 0.573)
/* Android */
Color.parseColor("#8e4792")
/* Flutter */
Color(0xFF8E4792)
/* Python / OpenCV (BGR) */
(146, 71, 142)

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

Accessibility — WCAG contrast

Aa
#8e4792 on white: 6.06:1
AA ✓ pass · AA-large · AAA
Aa
#8e4792 on black: 3.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3E5D94
deuteranopia · #546690
tritanopia · #915066

Color scale — 50 to 950

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

#F9F5F9
#F3ECF4
#E7D4E8
#D8B3DA
#C58EC8
#B168B6
#A050A5
#8e4792
#6B356E
#4F2A51
#311A32
Base = 700Lightest = 50 · #F9F5F9Darkest = 950 · #311A32
:root {
  --brand-50: #F9F5F9;
  --brand-100: #F3ECF4;
  --brand-200: #E7D4E8;
  --brand-300: #D8B3DA;
  --brand-400: #C58EC8;
  --brand-500: #B168B6;
  --brand-600: #A050A5;
  --brand-700: #8e4792;
  --brand-800: #6B356E;
  --brand-900: #4F2A51;
  --brand-950: #311A32;
  --brand: #8e4792;
  --brand-ink: #ffffff;
}

Colors that work with #8e4792

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#FAF5FA
Tinted page background
Border#E3C8E4
Hairlines and dividers
Muted text#964B9A
Captions on the surface
Accent#5C9643
Second voice, not a rival
Dark variant#532A56
Hover, pressed, headers
Light variant#F6EEF7
Selected rows, tints
Dark surface#241424
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 #8e4792

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#4B9247
Analogous left#684792
Analogous right#924770
Split-complement 1#709247
Split-complement 2#479268
Triadic 1#928E47
Triadic 2#47928E
Tetradic#926847

RGB percentages

Red55.7%
Green27.8%
Blue57.3%

CMYK percentages

Cyan2.7%
Magenta51.4%
Yellow0.0%
Key (black)42.7%

Color previews

#8e4792 text on a black background

contrast 3.47:1

Card sample

#8e4792 text on a white background

contrast 6.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(142, 71, 146, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(142, 71, 146, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8e4792;
background: linear-gradient(135deg, #8e4792, #924764);

Monochromatic scale

Palettes built from #8e4792

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.

#8e4792 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#8e4792, answered

What color is #8e4792?

#8e4792 is a dark soft magenta / pink, closest to Dark Magenta (ΔE2000 10). It sits at 297° on the hue wheel with 35% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #8e4792?

rgb(142, 71, 146) — 142 red, 71 green and 146 blue out of 255, or 55.7% / 27.8% / 57.3% by channel.

Is #8e4792 a light or a dark color?

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

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

White. It scores 6.06:1 against #8e4792, versus 3.47:1 for black — AA at any size.

What is the complementary color of #8e4792?

#4B9247 sits directly opposite on the wheel. Softer options are the split-complements #709247 and #479268, which give the same contrast with far less vibration.

What colors go well with #8e4792?

For interface work: #FAF5FA as the surface, #E3C8E4 for borders, #964B9A for secondary text, #5C9643 as an accent and #532A56 for hover and pressed states. For a palette, the analogous pair #684792 and #924770 stays calm, while #4B9247 is the loudest partner.

What is #8e4792 in CMYK for printing?

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

Is #8e4792 warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #92477A; nudged cooler, #734594.

Work with #8e4792 in the Color Lab