#8A6790

A color in the Purple, Crimson, Magenta family

#8a6790 is a color in the Purple, Crimson, Magenta family: RGB(138, 103, 144), HSL(291°, 17%, 48%), CMYK(4%, 28%, 0%, 44%). Closest named color: slategray. Contrast is 4.75:1 on white and 4.42:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a6790
RGBrgb(138 103 144)
RGB (legacy)rgb(138, 103, 144)
RGB %rgb(54% 40% 56%)
HSLhsl(291 17% 48%)
HSV / HSBhsv(291, 28%, 56%)
HWBhwb(291 40% 44%)
CMYKcmyk(4%, 28%, 0%, 44%)
CIELAB (D50)lab(48.35 20.07 -16.97)
LCHlch(48.35 26.28 319.78)
OKLaboklab(0.5637 0.0581 -0.0463)
OKLCHoklch(0.5637 0.0743 321.46)
Decimal9070480

Properties

Color TonePurple, Crimson, Magenta
Closest named colorslategray ΔE 7.7
Closest web-safe color#996699
Hue291°
Saturation (HSL / HSV)17% / 28%
Lightness (HSL)48%
Brightness or Value (HSV)56%
Luminance (Rec.601 / Rec.709)46% / 44%
Relative luminance (WCAG)0.1712
Red / Green / Blue138 / 103 / 144

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.75:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.42: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.9 / -28.8 · As background with white / black text: Lc -78.3 / 31.2

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: #8a6790;
  --color-brand-oklch: oklch(56.37% 0.0743 321.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 144 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a6790] text-[#8a6790] border-[#8a6790]">