#8A67A1

A color in the Purple, Crimson, Magenta family

#8a67a1 is a color in the Purple, Crimson, Magenta family: RGB(138, 103, 161), HSL(276°, 24%, 52%), CMYK(14%, 36%, 0%, 37%). Closest named color: slategray. Contrast is 4.63:1 on white and 4.54:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a67a1
RGBrgb(138 103 161)
RGB (legacy)rgb(138, 103, 161)
RGB %rgb(54% 40% 63%)
HSLhsl(276 24% 52%)
HSV / HSBhsv(276, 36%, 63%)
HWBhwb(276 40% 37%)
CMYKcmyk(14%, 36%, 0%, 37%)
CIELAB (D50)lab(48.93 22.87 -26.08)
LCHlch(48.93 34.68 311.25)
OKLaboklab(0.5713 0.0628 -0.0717)
OKLCHoklch(0.5713 0.0953 311.23)
Decimal9070497

Properties

Color TonePurple, Crimson, Magenta
Closest named colorslategray ΔE 8.8
Closest web-safe color#996699
Hue276°
Saturation (HSL / HSV)24% / 36%
Lightness (HSL)52%
Brightness or Value (HSV)63%
Luminance (Rec.601 / Rec.709)47% / 45%
Relative luminance (WCAG)0.1768
Red / Green / Blue138 / 103 / 161

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.63:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.54:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 72.1 / -29.6 · As background with white / black text: Lc -77.5 / 32

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