#8A67A4

A color in the Purple, Crimson, Magenta family

#8a67a4 is a color in the Purple, Crimson, Magenta family: RGB(138, 103, 164), HSL(274°, 25%, 52%), CMYK(16%, 37%, 0%, 36%). Closest named color: mediumpurple. Contrast is 4.61:1 on white and 4.56:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a67a4
RGBrgb(138 103 164)
RGB (legacy)rgb(138, 103, 164)
RGB %rgb(54% 40% 64%)
HSLhsl(274 25% 52%)
HSV / HSBhsv(274, 37%, 64%)
HWBhwb(274 40% 36%)
CMYKcmyk(16%, 37%, 0%, 36%)
CIELAB (D50)lab(49.04 23.39 -27.66)
LCHlch(49.04 36.22 310.22)
OKLaboklab(0.5727 0.0635 -0.0761)
OKLCHoklch(0.5727 0.0991 309.85)
Decimal9070500

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 8.5
Closest web-safe color#996699
Hue274°
Saturation (HSL / HSV)25% / 37%
Lightness (HSL)52%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)47% / 45%
Relative luminance (WCAG)0.1778
Red / Green / Blue138 / 103 / 164

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.61:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.56: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 71.9 / -29.8 · As background with white / black text: Lc -77.4 / 32.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: #8a67a4;
  --color-brand-oklch: oklch(57.27% 0.0991 309.85);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 164 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67a4] text-[#8a67a4] border-[#8a67a4]">