#8A207C

A color in the Purple, Crimson, Magenta family

#8a207c is a color in the Purple, Crimson, Magenta family: RGB(138, 32, 124), HSL(308°, 62%, 33%), CMYK(0%, 77%, 10%, 46%). Closest named color: darkmagenta. Contrast is 8.14:1 on white and 2.58:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a207c
RGBrgb(138 32 124)
RGB (legacy)rgb(138, 32, 124)
RGB %rgb(54% 13% 49%)
HSLhsl(308 62% 33%)
HSV / HSBhsv(308, 77%, 54%)
HWBhwb(308 13% 46%)
CMYKcmyk(0%, 77%, 10%, 46%)
CIELAB (D50)lab(33.8 51.37 -27.15)
LCHlch(33.8 58.11 332.14)
OKLaboklab(0.4518 0.1554 -0.0755)
OKLCHoklch(0.4518 0.1728 334.1)
Decimal9052284

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 3.8
Closest web-safe color#993366
Hue308°
Saturation (HSL / HSV)62% / 77%
Lightness (HSL)33%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)29% / 24%
Relative luminance (WCAG)0.0789
Red / Green / Blue138 / 32 / 124

WCAG 2.2 Contrast Ratio

On White (#ffffff)
8.14:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.58: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 87 / -15.1 · As background with white / black text: Lc -91.7 / 17

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: #8a207c;
  --color-brand-oklch: oklch(45.18% 0.1728 334.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 32 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a207c] text-[#8a207c] border-[#8a207c]">