#8A6786

A color in the Purple, Crimson, Magenta family

#8a6786 is a color in the Purple, Crimson, Magenta family: RGB(138, 103, 134), HSL(307°, 15%, 47%), CMYK(0%, 25%, 3%, 46%). Closest named color: slategray. Contrast is 4.81:1 on white and 4.36:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a6786
RGBrgb(138 103 134)
RGB (legacy)rgb(138, 103, 134)
RGB %rgb(54% 40% 53%)
HSLhsl(307 15% 47%)
HSV / HSBhsv(307, 25%, 54%)
HWBhwb(307 40% 46%)
CMYKcmyk(0%, 25%, 3%, 46%)
CIELAB (D50)lab(48.04 18.55 -11.52)
LCHlch(48.04 21.83 328.16)
OKLaboklab(0.5597 0.0548 -0.0313)
OKLCHoklch(0.5597 0.0631 330.29)
Decimal9070470

Properties

Color TonePurple, Crimson, Magenta
Closest named colorslategray ΔE 7.4
Closest web-safe color#996699
Hue307°
Saturation (HSL / HSV)15% / 25%
Lightness (HSL)47%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)46% / 44%
Relative luminance (WCAG)0.1682
Red / Green / Blue138 / 103 / 134

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.81:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.36: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 73.3 / -28.4 · As background with white / black text: Lc -78.8 / 30.7

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