#8D4E8A

A color in the Purple, Crimson, Magenta family

#8d4e8a is a color in the Purple, Crimson, Magenta family: RGB(141, 78, 138), HSL(303°, 29%, 43%), CMYK(0%, 45%, 2%, 45%). Closest named color: darkmagenta. Contrast is 5.85:1 on white and 3.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8d4e8a
RGBrgb(141 78 138)
RGB (legacy)rgb(141, 78, 138)
RGB %rgb(55% 31% 54%)
HSLhsl(303 29% 43%)
HSV / HSBhsv(303, 45%, 55%)
HWBhwb(303 31% 45%)
CMYKcmyk(0%, 45%, 2%, 45%)
CIELAB (D50)lab(42.66 33.91 -22.01)
LCHlch(42.66 40.43 327.01)
OKLaboklab(0.5205 0.1002 -0.0606)
OKLCHoklch(0.5205 0.1171 328.83)
Decimal9260682

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 11.5
Closest web-safe color#996699
Hue303°
Saturation (HSL / HSV)29% / 45%
Lightness (HSL)43%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)41% / 38%
Relative luminance (WCAG)0.1295
Red / Green / Blue141 / 78 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.85:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.59:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 79 / -22.8 · As background with white / black text: Lc -84.2 / 25.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8d4e8a;
  --color-brand-oklch: oklch(52.05% 0.1171 328.83);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(141 78 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8d4e8a] text-[#8d4e8a] border-[#8d4e8a]">