#8A4EAF

A color in the Purple, Crimson, Magenta family

#8a4eaf is a color in the Purple, Crimson, Magenta family: RGB(138, 78, 175), HSL(277°, 38%, 50%), CMYK(21%, 55%, 0%, 31%). Closest named color: darkorchid. Contrast is 5.54:1 on white and 3.79:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a4eaf
RGBrgb(138 78 175)
RGB (legacy)rgb(138, 78, 175)
RGB %rgb(54% 31% 69%)
HSLhsl(277 38% 50%)
HSV / HSBhsv(277, 55%, 69%)
HWBhwb(277 31% 31%)
CMYKcmyk(21%, 55%, 0%, 31%)
CIELAB (D50)lab(43.82 38.86 -42.26)
LCHlch(43.82 57.41 312.6)
OKLaboklab(0.5366 0.1016 -0.1178)
OKLCHoklch(0.5366 0.1556 310.77)
Decimal9064111

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 7.2
Closest web-safe color#996699
Hue277°
Saturation (HSL / HSV)38% / 55%
Lightness (HSL)50%
Brightness or Value (HSV)69%
Luminance (Rec.601 / Rec.709)42% / 38%
Relative luminance (WCAG)0.1395
Red / Green / Blue138 / 78 / 175

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.54:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.79: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.3 / -24.4 · As background with white / black text: Lc -82.6 / 26.8

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