#8A4E95

A color in the Purple, Crimson, Magenta family

#8a4e95 is a color in the Purple, Crimson, Magenta family: RGB(138, 78, 149), HSL(291°, 31%, 45%), CMYK(7%, 48%, 0%, 42%). Closest named color: slateblue. Contrast is 5.83:1 on white and 3.6:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a4e95
RGBrgb(138 78 149)
RGB (legacy)rgb(138, 78, 149)
RGB %rgb(54% 31% 58%)
HSLhsl(291 31% 45%)
HSV / HSBhsv(291, 48%, 58%)
HWBhwb(291 31% 42%)
CMYKcmyk(7%, 48%, 0%, 42%)
CIELAB (D50)lab(42.67 34.53 -28.65)
LCHlch(42.67 44.87 320.32)
OKLaboklab(0.5221 0.0986 -0.0792)
OKLCHoklch(0.5221 0.1265 321.24)
Decimal9064085

Properties

Color TonePurple, Crimson, Magenta
Closest named colorslateblue ΔE 10.3
Closest web-safe color#996699
Hue291°
Saturation (HSL / HSV)31% / 48%
Lightness (HSL)45%
Brightness or Value (HSV)58%
Luminance (Rec.601 / Rec.709)41% / 38%
Relative luminance (WCAG)0.1302
Red / Green / Blue138 / 78 / 149

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.83:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.60: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 78.9 / -22.9 · As background with white / black text: Lc -84.1 / 25.2

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