#7C19C2

A color in the Purple, Crimson, Magenta family

#7c19c2 is a color in the Purple, Crimson, Magenta family: RGB(124, 25, 194), HSL(275°, 77%, 43%), CMYK(36%, 87%, 0%, 24%). Closest named color: darkviolet. Contrast is 7.57:1 on white and 2.78:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7c19c2
RGBrgb(124 25 194)
RGB (legacy)rgb(124, 25, 194)
RGB %rgb(49% 10% 76%)
HSLhsl(275 77% 43%)
HSV / HSBhsv(275, 87%, 76%)
HWBhwb(275 10% 24%)
CMYKcmyk(36%, 87%, 0%, 24%)
CIELAB (D50)lab(34.91 60.29 -67.89)
LCHlch(34.91 90.79 311.61)
OKLaboklab(0.4768 0.1316 -0.1909)
OKLCHoklch(0.4768 0.2319 304.57)
Decimal8133058

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkviolet ΔE 5.3
Closest web-safe color#6600cc
Hue275°
Saturation (HSL / HSV)77% / 87%
Lightness (HSL)43%
Brightness or Value (HSV)76%
Luminance (Rec.601 / Rec.709)29% / 23%
Relative luminance (WCAG)0.0888
Red / Green / Blue124 / 25 / 194

WCAG 2.2 Contrast Ratio

On White (#ffffff)
7.57: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: #7c19c2;
  --color-brand-oklch: oklch(47.68% 0.2319 304.57);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(124 25 194 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7c19c2] text-[#7c19c2] border-[#7c19c2]">