#8A6792

A color in the Purple, Crimson, Magenta family

#8a6792 is a color in the Purple, Crimson, Magenta family: RGB(138, 103, 146), HSL(289°, 17%, 49%), CMYK(5%, 29%, 0%, 43%). Closest named color: slategray. Contrast is 4.73:1 on white and 4.44:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a6792
RGBrgb(138 103 146)
RGB (legacy)rgb(138, 103, 146)
RGB %rgb(54% 40% 57%)
HSLhsl(289 17% 49%)
HSV / HSBhsv(289, 29%, 57%)
HWBhwb(289 40% 43%)
CMYKcmyk(5%, 29%, 0%, 43%)
CIELAB (D50)lab(48.41 20.38 -18.05)
LCHlch(48.41 27.23 318.47)
OKLaboklab(0.5646 0.0587 -0.0493)
OKLCHoklch(0.5646 0.0766 319.99)
Decimal9070482

Properties

Color TonePurple, Crimson, Magenta
Closest named colorslategray ΔE 7.8
Closest web-safe color#996699
Hue289°
Saturation (HSL / HSV)17% / 29%
Lightness (HSL)49%
Brightness or Value (HSV)57%
Luminance (Rec.601 / Rec.709)46% / 45%
Relative luminance (WCAG)0.1718
Red / Green / Blue138 / 103 / 146

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.73:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.44: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.8 / -28.9 · As background with white / black text: Lc -78.2 / 31.3

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