#8317A9

A color in the Purple, Crimson, Magenta family

#8317a9 is a color in the Purple, Crimson, Magenta family: RGB(131, 23, 169), HSL(284°, 76%, 38%), CMYK(22%, 86%, 0%, 34%). Closest named color: darkmagenta. Contrast is 7.89:1 on white and 2.66:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8317a9
RGBrgb(131 23 169)
RGB (legacy)rgb(131, 23, 169)
RGB %rgb(51% 9% 66%)
HSLhsl(284 76% 38%)
HSV / HSBhsv(284, 86%, 66%)
HWBhwb(284 9% 34%)
CMYKcmyk(22%, 86%, 0%, 34%)
CIELAB (D50)lab(34.13 58.14 -54.28)
LCHlch(34.13 79.54 316.96)
OKLaboklab(0.4648 0.1497 -0.1524)
OKLCHoklch(0.4648 0.2137 314.49)
Decimal8591273

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 5.4
Closest web-safe color#990099
Hue284°
Saturation (HSL / HSV)76% / 86%
Lightness (HSL)38%
Brightness or Value (HSV)66%
Luminance (Rec.601 / Rec.709)28% / 22%
Relative luminance (WCAG)0.083
Red / Green / Blue131 / 23 / 169

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.89:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.66: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.2 · As background with white / black text: Lc -90.7 / 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: #8317a9;
  --color-brand-oklch: oklch(46.48% 0.2137 314.49);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(131 23 169 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8317a9] text-[#8317a9] border-[#8317a9]">