#9C19B3

A color in the Purple, Crimson, Magenta family

#9c19b3 is a color in the Purple, Crimson, Magenta family: RGB(156, 25, 179), HSL(291°, 75%, 40%), CMYK(13%, 86%, 0%, 30%). Closest named color: darkorchid. Contrast is 6.56:1 on white and 3.2:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9c19b3
RGBrgb(156 25 179)
RGB (legacy)rgb(156, 25, 179)
RGB %rgb(61% 10% 70%)
HSLhsl(291 75% 40%)
HSV / HSBhsv(291, 86%, 70%)
HWBhwb(291 10% 30%)
CMYKcmyk(13%, 86%, 0%, 30%)
CIELAB (D50)lab(39.29 64.04 -51.66)
LCHlch(39.29 82.28 321.11)
OKLaboklab(0.5101 0.177 -0.1448)
OKLCHoklch(0.5101 0.2286 320.72)
Decimal10230195

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 4.8
Closest web-safe color#9900cc
Hue291°
Saturation (HSL / HSV)75% / 86%
Lightness (HSL)40%
Brightness or Value (HSV)70%
Luminance (Rec.601 / Rec.709)32% / 25%
Relative luminance (WCAG)0.1102
Red / Green / Blue156 / 25 / 179

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.56:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.20:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 80.8 / -21.1 · As background with white / black text: Lc -85.9 / 23.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: #9c19b3;
  --color-brand-oklch: oklch(51.01% 0.2286 320.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(156 25 179 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9c19b3] text-[#9c19b3] border-[#9c19b3]">