#8A4E71

A color in the Purple, Crimson, Magenta family

#8a4e71 is a color in the Purple, Crimson, Magenta family: RGB(138, 78, 113), HSL(325°, 28%, 42%), CMYK(0%, 43%, 18%, 46%). Closest named color: dimgray. Contrast is 6.16:1 on white and 3.41:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a4e71
RGBrgb(138 78 113)
RGB (legacy)rgb(138, 78, 113)
RGB %rgb(54% 31% 44%)
HSLhsl(325 28% 42%)
HSV / HSBhsv(325, 43%, 54%)
HWBhwb(325 31% 46%)
CMYKcmyk(0%, 43%, 18%, 46%)
CIELAB (D50)lab(41.4 29.49 -8.73)
LCHlch(41.4 30.75 343.5)
OKLaboklab(0.5058 0.0896 -0.024)
OKLCHoklch(0.5058 0.0927 344.97)
Decimal9064049

Properties

Color TonePurple, Crimson, Magenta
Closest named colordimgray ΔE 9.4
Closest web-safe color#996666
Hue325°
Saturation (HSL / HSV)28% / 43%
Lightness (HSL)42%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)39% / 37%
Relative luminance (WCAG)0.1204
Red / Green / Blue138 / 78 / 113

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.16:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.41: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 80.5 / -21.3 · As background with white / black text: Lc -85.7 / 23.5

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: #8a4e71;
  --color-brand-oklch: oklch(50.58% 0.0927 344.97);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 78 113 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a4e71] text-[#8a4e71] border-[#8a4e71]">