#8A4EAA

A color in the Purple, Crimson, Magenta family

#8a4eaa is a color in the Purple, Crimson, Magenta family: RGB(138, 78, 170), HSL(279°, 37%, 49%), CMYK(19%, 54%, 0%, 33%). Closest named color: darkorchid. Contrast is 5.6:1 on white and 3.75:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a4eaa
RGBrgb(138 78 170)
RGB (legacy)rgb(138, 78, 170)
RGB %rgb(54% 31% 67%)
HSLhsl(279 37% 49%)
HSV / HSBhsv(279, 54%, 67%)
HWBhwb(279 31% 33%)
CMYKcmyk(19%, 54%, 0%, 33%)
CIELAB (D50)lab(43.59 37.99 -39.69)
LCHlch(43.59 54.94 313.74)
OKLaboklab(0.5336 0.1013 -0.1105)
OKLCHoklch(0.5336 0.1499 312.5)
Decimal9064106

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 7.8
Closest web-safe color#996699
Hue279°
Saturation (HSL / HSV)37% / 54%
Lightness (HSL)49%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)42% / 38%
Relative luminance (WCAG)0.1375
Red / Green / Blue138 / 78 / 170

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.60:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.75: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 77.6 / -24.1 · As background with white / black text: Lc -82.9 / 26.4

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