Skip to content

#782861

a dark, vivid magenta / pink · warm · closest name: Purple

RGB
120, 40, 97
HSL
317°, 50%, 31%
CMYK
0, 67, 19, 53
Luminance
0.0637

At a glance

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

Hex
#782861
Hue
317°
magenta / pink
Saturation
50%
vivid
Lightness
31%
dark
Brightness
47%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0637
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
9.23:1
Closest name
Purple
ΔE2000 8.5
Where it sits
Hue317° of 360°
Saturation50%
Lightness31%
Temperature
Warm ← → Cool40% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#782861
RGBrgb(120, 40, 97)
HSLhsl(317, 50%, 31%)
CMYKcmyk(0%, 67%, 19%, 53%)
LABlab(30.3 41.4 -15.9)
LCHlch(30.3 44.4 339.0)
OKLCHoklch(0.417 0.131 340.9)
Decimal7874657
Display P3color(display-p3 0.471 0.157 0.380)

Copy-ready code

/* CSS */
color: #782861;
background-color: #782861;
/* Tailwind (arbitrary) */
class="text-[#782861] bg-[#782861]"
/* SCSS */
$brand: #782861;
/* SwiftUI */
Color(red: 0.471, green: 0.157, blue: 0.380)
/* Android */
Color.parseColor("#782861")
/* Flutter */
Color(0xFF782861)
/* Python / OpenCV (BGR) */
(97, 40, 120)

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 #782861 · 9.23:1
Use #ffffffAAA at every size.
Aa
White text · 9.23:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.27:1
AA fail · AA large fail · AAA fail
Reading the other direction: #782861 as text scores 9.23:1 on white and 2.27:1 on black.

Accessibility — WCAG contrast

Aa
#782861 on white: 9.23:1
AA ✓ pass · AA-large · AAA
Aa
#782861 on black: 2.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2D3F63
deuteranopia · #454C5F
tritanopia · #7F2A40

Color scale — 50 to 950

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

#FAF4F9
#F6EAF2
#ECCFE4
#E3ABD3
#D581BD
#C757A7
#B83D94
#99337C
#782861
#592149
#38152E
Base = 800Lightest = 50 · #FAF4F9Darkest = 950 · #38152E
:root {
  --brand-50: #FAF4F9;
  --brand-100: #F6EAF2;
  --brand-200: #ECCFE4;
  --brand-300: #E3ABD3;
  --brand-400: #D581BD;
  --brand-500: #C757A7;
  --brand-600: #B83D94;
  --brand-700: #99337C;
  --brand-800: #782861;
  --brand-900: #592149;
  --brand-950: #38152E;
  --brand: #782861;
  --brand-ink: #ffffff;
}

Colors that work with #782861

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#FAF4F9
Tinted page background
Border#EBC2DF
Hairlines and dividers
Muted text#9B4B84
Captions on the surface
Accent#257B28
Second voice, not a rival
Dark variant#60204D
Hover, pressed, headers
Light variant#F9ECF5
Selected rows, tints
Dark surface#241420
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 #782861

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
  • Text on black or near-black surfaces
  • 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#28783F
Analogous left#672878
Analogous right#782839
Split-complement 1#397828
Split-complement 2#287867
Triadic 1#617828
Triadic 2#286178
Tetradic#786728

RGB percentages

Red47.1%
Green15.7%
Blue38.0%

CMYK percentages

Cyan0.0%
Magenta66.7%
Yellow19.2%
Key (black)52.9%

Color previews

#782861 text on a black background

contrast 2.27:1

Card sample

#782861 text on a white background

contrast 9.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(120, 40, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(120, 40, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #782861;
background: linear-gradient(135deg, #782861, #78282C);

Monochromatic scale

Palettes built from #782861

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.

#782861 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.

#782861, answered

What color is #782861?

#782861 is a dark vivid magenta / pink, closest to Purple (ΔE2000 8.5). It sits at 317° on the hue wheel with 50% saturation and 31% lightness, which reads as warm.

What is the RGB value of #782861?

rgb(120, 40, 97) — 120 red, 40 green and 97 blue out of 255, or 47.1% / 15.7% / 38% by channel.

Is #782861 a light or a dark color?

It is a dark color. Relative luminance is 0.0637 and perceived brightness is 31%, so white text on it reaches 9.23:1.

Should I use black or white text on #782861?

White. It scores 9.23:1 against #782861, versus 2.27:1 for black — AAA at any size.

What is the complementary color of #782861?

#28783F sits directly opposite on the wheel. Softer options are the split-complements #397828 and #287867, which give the same contrast with far less vibration.

What colors go well with #782861?

For interface work: #FAF4F9 as the surface, #EBC2DF for borders, #9B4B84 for secondary text, #257B28 as an accent and #60204D for hover and pressed states. For a palette, the analogous pair #672878 and #782839 stays calm, while #28783F is the loudest partner.

What is #782861 in CMYK for printing?

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

Is #782861 warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #782844; nudged cooler, #73267A.

Work with #782861 in the Color Lab