#8A00A2

A color in the Purple, Crimson, Magenta family

#8a00a2 is a color in the Purple, Crimson, Magenta family: RGB(138, 0, 162), HSL(291°, 100%, 32%), CMYK(15%, 100%, 0%, 36%). Closest named color: darkmagenta. Contrast is 8.07:1 on white and 2.6:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a00a2
RGBrgb(138 0 162)
RGB (legacy)rgb(138, 0, 162)
RGB %rgb(54% 0% 64%)
HSLhsl(291 100% 32%)
HSV / HSBhsv(291, 100%, 64%)
HWBhwb(291 0% 36%)
CMYKcmyk(15%, 100%, 0%, 36%)
CIELAB (D50)lab(33.66 62.15 -50.75)
LCHlch(33.66 80.23 320.76)
OKLaboklab(0.4613 0.1696 -0.1424)
OKLCHoklch(0.4613 0.2214 319.98)
Decimal9044130

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 3.8
Closest web-safe color#990099
Hue291°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)32%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)23% / 16%
Relative luminance (WCAG)0.0801
Red / Green / Blue138 / 0 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.07:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.60: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.7 / -16.4 · As background with white / black text: Lc -90.5 / 18.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: #8a00a2;
  --color-brand-oklch: oklch(46.13% 0.2214 319.98);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 0 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a00a2] text-[#8a00a2] border-[#8a00a2]">