#8C19BE

A color in the Purple, Crimson, Magenta family

#8c19be is a color in the Purple, Crimson, Magenta family: RGB(140, 25, 190), HSL(282°, 77%, 42%), CMYK(26%, 87%, 0%, 25%). Closest named color: darkviolet. Contrast is 7.01:1 on white and 3:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8c19be
RGBrgb(140 25 190)
RGB (legacy)rgb(140, 25, 190)
RGB %rgb(55% 10% 75%)
HSLhsl(282 77% 42%)
HSV / HSBhsv(282, 87%, 75%)
HWBhwb(282 10% 25%)
CMYKcmyk(26%, 87%, 0%, 25%)
CIELAB (D50)lab(37.21 62.49 -61.65)
LCHlch(37.21 87.78 315.39)
OKLaboklab(0.4951 0.1548 -0.1732)
OKLCHoklch(0.4951 0.2323 311.78)
Decimal9181630

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkviolet ΔE 3.6
Closest web-safe color#9900cc
Hue282°
Saturation (HSL / HSV)77% / 87%
Lightness (HSL)42%
Brightness or Value (HSV)75%
Luminance (Rec.601 / Rec.709)31% / 24%
Relative luminance (WCAG)0.0999
Red / Green / Blue140 / 25 / 190

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.01:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
3.00: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 82.6 / -19.3 · As background with white / black text: Lc -87.7 / 21.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: #8c19be;
  --color-brand-oklch: oklch(49.51% 0.2323 311.78);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(140 25 190 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8c19be] text-[#8c19be] border-[#8c19be]">