#8A6794

A color in the Purple, Crimson, Magenta family

#8a6794 is a color in the Purple, Crimson, Magenta family: RGB(138, 103, 148), HSL(287°, 18%, 49%), CMYK(7%, 30%, 0%, 42%). Closest named color: slategray. Contrast is 4.72:1 on white and 4.45:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a6794
RGBrgb(138 103 148)
RGB (legacy)rgb(138, 103, 148)
RGB %rgb(54% 40% 58%)
HSLhsl(287 18% 49%)
HSV / HSBhsv(287, 30%, 58%)
HWBhwb(287 40% 42%)
CMYKcmyk(7%, 30%, 0%, 42%)
CIELAB (D50)lab(48.48 20.7 -19.13)
LCHlch(48.48 28.19 317.26)
OKLaboklab(0.5654 0.0593 -0.0523)
OKLCHoklch(0.5654 0.079 318.6)
Decimal9070484

Properties

Color TonePurple, Crimson, Magenta
Closest named colorslategray ΔE 7.9
Closest web-safe color#996699
Hue287°
Saturation (HSL / HSV)18% / 30%
Lightness (HSL)49%
Brightness or Value (HSV)58%
Luminance (Rec.601 / Rec.709)47% / 45%
Relative luminance (WCAG)0.1724
Red / Green / Blue138 / 103 / 148

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.72:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.45: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 72.7 / -29 · As background with white / black text: Lc -78.2 / 31.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: #8a6794;
  --color-brand-oklch: oklch(56.54% 0.079 318.6);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 148 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a6794] text-[#8a6794] border-[#8a6794]">