#8A00A0

A color in the Purple, Crimson, Magenta family

#8a00a0 is a color in the Purple, Crimson, Magenta family: RGB(138, 0, 160), HSL(292°, 100%, 31%), CMYK(14%, 100%, 0%, 37%). Closest named color: darkmagenta. Contrast is 8.11:1 on white and 2.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a00a0
RGBrgb(138 0 160)
RGB (legacy)rgb(138, 0, 160)
RGB %rgb(54% 0% 63%)
HSLhsl(292 100% 31%)
HSV / HSBhsv(292, 100%, 63%)
HWBhwb(292 0% 37%)
CMYKcmyk(14%, 100%, 0%, 37%)
CIELAB (D50)lab(33.53 61.89 -49.74)
LCHlch(33.53 79.4 321.21)
OKLaboklab(0.4598 0.17 -0.1395)
OKLCHoklch(0.4598 0.2199 320.63)
Decimal9044128

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 3.5
Closest web-safe color#990099
Hue292°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)31%
Brightness or Value (HSV)63%
Luminance (Rec.601 / Rec.709)23% / 16%
Relative luminance (WCAG)0.0794
Red / Green / Blue138 / 0 / 160

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 85.8 / -16.3 · As background with white / black text: Lc -90.6 / 18.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: #8a00a0;
  --color-brand-oklch: oklch(45.98% 0.2199 320.63);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 0 160 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a00a0] text-[#8a00a0] border-[#8a00a0]">