#7D4E8A

A color in the Purple, Crimson, Magenta family

#7d4e8a is a color in the Purple, Crimson, Magenta family: RGB(125, 78, 138), HSL(287°, 28%, 42%), CMYK(9%, 43%, 0%, 46%). Closest named color: dimgray. Contrast is 6.31:1 on white and 3.33:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7d4e8a
RGBrgb(125 78 138)
RGB (legacy)rgb(125, 78, 138)
RGB %rgb(49% 31% 54%)
HSLhsl(287 28% 42%)
HSV / HSBhsv(287, 43%, 54%)
HWBhwb(287 31% 46%)
CMYKcmyk(9%, 43%, 0%, 46%)
CIELAB (D50)lab(40.52 28.33 -25.52)
LCHlch(40.52 38.13 317.99)
OKLaboklab(0.5008 0.0802 -0.0704)
OKLCHoklch(0.5008 0.1067 318.72)
Decimal8212106

Properties

Color TonePurple, Crimson, Magenta
Closest named colordimgray ΔE 10.9
Closest web-safe color#666699
Hue287°
Saturation (HSL / HSV)28% / 43%
Lightness (HSL)42%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)39% / 36%
Relative luminance (WCAG)0.1164
Red / Green / Blue125 / 78 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.31:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.33: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.2 / -20.7 · As background with white / black text: Lc -86.3 / 22.8

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: #7d4e8a;
  --color-brand-oklch: oklch(50.08% 0.1067 318.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(125 78 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7d4e8a] text-[#7d4e8a] border-[#7d4e8a]">