Skip to content

#8d4fba

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

RGB
141, 79, 186
HSL
275°, 44%, 52%
CMYK
24, 58, 0, 27
Luminance
0.1480

At a glance

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

Hex
#8d4fba
Hue
275°
violet
Saturation
44%
soft
Lightness
52%
balanced
Brightness
73%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1480
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Soft
Best ink
White
5.30:1
Closest name
Dark Orchid
ΔE2000 5.8
Where it sits
Hue275° of 360°
Saturation44%
Lightness52%
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#8d4fba
RGBrgb(141, 79, 186)
HSLhsl(275, 44%, 52%)
CMYKcmyk(24%, 58%, 0%, 27%)
LABlab(45.4 45.5 -46.5)
LCHlch(45.4 65.1 314.3)
OKLCHoklch(0.548 0.168 308.6)
Decimal9260986
Display P3color(display-p3 0.553 0.310 0.729)

Copy-ready code

/* CSS */
color: #8d4fba;
background-color: #8d4fba;
/* Tailwind (arbitrary) */
class="text-[#8d4fba] bg-[#8d4fba]"
/* SCSS */
$brand: #8d4fba;
/* SwiftUI */
Color(red: 0.553, green: 0.310, blue: 0.729)
/* Android */
Color.parseColor("#8d4fba")
/* Flutter */
Color(0xFF8D4FBA)
/* Python / OpenCV (BGR) */
(186, 79, 141)

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

Accessibility — WCAG contrast

Aa
#8d4fba on white: 5.30:1
AA ✓ pass · AA-large · AAA
Aa
#8d4fba on black: 3.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2969BD
deuteranopia · #416CB7
tritanopia · #87637D

Color scale — 50 to 950

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

#F8F5FA
#F1EAF5
#E0D1EB
#CBAEDF
#B186D0
#8d4fba
#8345B0
#6D3993
#572E75
#412556
#291736
Base = 500Lightest = 50 · #F8F5FADarkest = 950 · #291736
:root {
  --brand-50: #F8F5FA;
  --brand-100: #F1EAF5;
  --brand-200: #E0D1EB;
  --brand-300: #CBAEDF;
  --brand-400: #B186D0;
  --brand-500: #8d4fba;
  --brand-600: #8345B0;
  --brand-700: #6D3993;
  --brand-800: #572E75;
  --brand-900: #412556;
  --brand-950: #291736;
  --brand: #8d4fba;
  --brand-ink: #ffffff;
}

Colors that work with #8d4fba

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#D9C4E8
Hairlines and dividers
Muted text#794B9B
Captions on the surface
Accent#769735
Second voice, not a rival
Dark variant#44245C
Hover, pressed, headers
Light variant#F3EDF8
Selected rows, tints
Dark surface#1D1424
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 #8d4fba

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

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#7CBA4F
Analogous left#584FBA
Analogous right#BA4FB2
Split-complement 1#B2BA4F
Split-complement 2#4FBA58
Triadic 1#BA8D4F
Triadic 2#4FBA8D
Tetradic#BA584F

RGB percentages

Red55.3%
Green31.0%
Blue72.9%

CMYK percentages

Cyan24.2%
Magenta57.5%
Yellow0.0%
Key (black)27.1%

Color previews

#8d4fba text on a black background

contrast 3.96:1

Card sample

#8d4fba text on a white background

contrast 5.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(141, 79, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(141, 79, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8d4fba;
background: linear-gradient(135deg, #8d4fba, #BA4FA0);

Monochromatic scale

Palettes built from #8d4fba

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.

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

#8d4fba, answered

What color is #8d4fba?

#8d4fba is a balanced soft violet, closest to Dark Orchid (ΔE2000 5.8). It sits at 275° on the hue wheel with 44% saturation and 52% lightness, which reads as cool.

What is the RGB value of #8d4fba?

rgb(141, 79, 186) — 141 red, 79 green and 186 blue out of 255, or 55.3% / 31% / 72.9% by channel.

Is #8d4fba a light or a dark color?

It is a dark color. Relative luminance is 0.1480 and perceived brightness is 46%, so white text on it reaches 5.30:1.

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

White. It scores 5.30:1 against #8d4fba, versus 3.96:1 for black — AA at any size.

What is the complementary color of #8d4fba?

#7CBA4F sits directly opposite on the wheel. Softer options are the split-complements #B2BA4F and #4FBA58, which give the same contrast with far less vibration.

What colors go well with #8d4fba?

For interface work: #F8F4FA as the surface, #D9C4E8 for borders, #794B9B for secondary text, #769735 as an accent and #44245C for hover and pressed states. For a palette, the analogous pair #584FBA and #BA4FB2 stays calm, while #7CBA4F is the loudest partner.

What is #8d4fba in CMYK for printing?

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

Is #8d4fba 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 #B44FBA; nudged cooler, #654DBD.

Work with #8d4fba in the Color Lab