#7A4E8A

A color in the Purple, Crimson, Magenta family

#7a4e8a is a color in the Purple, Crimson, Magenta family: RGB(122, 78, 138), HSL(284°, 28%, 42%), CMYK(12%, 43%, 0%, 46%). Closest named color: darkslateblue. Contrast is 6.39:1 on white and 3.28:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7a4e8a
RGBrgb(122 78 138)
RGB (legacy)rgb(122, 78, 138)
RGB %rgb(48% 31% 54%)
HSLhsl(284 28% 42%)
HSV / HSBhsv(284, 43%, 54%)
HWBhwb(284 31% 46%)
CMYKcmyk(12%, 43%, 0%, 46%)
CIELAB (D50)lab(40.13 27.29 -26.15)
LCHlch(40.13 37.79 316.22)
OKLaboklab(0.4972 0.0764 -0.0722)
OKLCHoklch(0.4972 0.1051 316.62)
Decimal8015498

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkslateblue ΔE 10.4
Closest web-safe color#666699
Hue284°
Saturation (HSL / HSV)28% / 43%
Lightness (HSL)42%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)38% / 36%
Relative luminance (WCAG)0.1142
Red / Green / Blue122 / 78 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.39:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.28: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 81.6 / -20.3 · As background with white / black text: Lc -86.7 / 22.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: #7a4e8a;
  --color-brand-oklch: oklch(49.72% 0.1051 316.62);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(122 78 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7a4e8a] text-[#7a4e8a] border-[#7a4e8a]">