#8C19A3

A color in the Purple, Crimson, Magenta family

#8c19a3 is a color in the Purple, Crimson, Magenta family: RGB(140, 25, 163), HSL(290°, 73%, 37%), CMYK(14%, 85%, 0%, 36%). Closest named color: darkmagenta. Contrast is 7.55:1 on white and 2.78:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8c19a3
RGBrgb(140 25 163)
RGB (legacy)rgb(140, 25, 163)
RGB %rgb(55% 10% 64%)
HSLhsl(290 73% 37%)
HSV / HSBhsv(290, 85%, 64%)
HWBhwb(290 10% 36%)
CMYKcmyk(14%, 85%, 0%, 36%)
CIELAB (D50)lab(35.5 58.64 -48.36)
LCHlch(35.5 76.01 320.49)
OKLaboklab(0.4748 0.1609 -0.1355)
OKLCHoklch(0.4748 0.2104 319.9)
Decimal9181603

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkmagenta ΔE 4.2
Closest web-safe color#990099
Hue290°
Saturation (HSL / HSV)73% / 85%
Lightness (HSL)37%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)29% / 23%
Relative luminance (WCAG)0.0892
Red / Green / Blue140 / 25 / 163

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.55:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.78: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.7 / -17.3 · As background with white / black text: Lc -89.6 / 19.3

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: #8c19a3;
  --color-brand-oklch: oklch(47.48% 0.2104 319.9);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(140 25 163 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8c19a3] text-[#8c19a3] border-[#8c19a3]">