#8A67A0

A color in the Purple, Crimson, Magenta family

#8a67a0 is a color in the Purple, Crimson, Magenta family: RGB(138, 103, 160), HSL(277°, 23%, 52%), CMYK(14%, 36%, 0%, 37%). Closest named color: slategray. Contrast is 4.64:1 on white and 4.53:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a67a0
RGBrgb(138 103 160)
RGB (legacy)rgb(138, 103, 160)
RGB %rgb(54% 40% 63%)
HSLhsl(277 23% 52%)
HSV / HSBhsv(277, 36%, 63%)
HWBhwb(277 40% 37%)
CMYKcmyk(14%, 36%, 0%, 37%)
CIELAB (D50)lab(48.9 22.7 -25.55)
LCHlch(48.9 34.17 311.62)
OKLaboklab(0.5708 0.0626 -0.0702)
OKLCHoklch(0.5708 0.094 311.72)
Decimal9070496

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.64:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.53: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.6 / 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: #8a67a0;
  --color-brand-oklch: oklch(57.08% 0.094 311.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 160 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67a0] text-[#8a67a0] border-[#8a67a0]">