#8F00A9

A color in the Purple, Crimson, Magenta family

#8f00a9 is a color in the Purple, Crimson, Magenta family: RGB(143, 0, 169), HSL(291°, 100%, 33%), CMYK(15%, 100%, 0%, 34%). Closest named color: darkmagenta. Contrast is 7.66:1 on white and 2.74:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8f00a9
RGBrgb(143 0 169)
RGB (legacy)rgb(143, 0, 169)
RGB %rgb(56% 0% 66%)
HSLhsl(291 100% 33%)
HSV / HSBhsv(291, 100%, 66%)
HWBhwb(291 0% 34%)
CMYKcmyk(15%, 100%, 0%, 34%)
CIELAB (D50)lab(35.04 63.93 -52.69)
LCHlch(35.04 82.84 320.51)
OKLaboklab(0.4743 0.1737 -0.1478)
OKLCHoklch(0.4743 0.2281 319.6)
Decimal9371817

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 4.9
Closest web-safe color#990099
Hue291°
Saturation (HSL / HSV)100% / 100%
Lightness (HSL)33%
Brightness or Value (HSV)66%
Luminance (Rec.601 / Rec.709)24% / 17%
Relative luminance (WCAG)0.087
Red / Green / Blue143 / 0 / 169

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.66:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.74: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 84.3 / -17.7 · As background with white / black text: Lc -89.2 / 19.7

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: #8f00a9;
  --color-brand-oklch: oklch(47.43% 0.2281 319.6);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(143 0 169 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8f00a9] text-[#8f00a9] border-[#8f00a9]">