#8A67A8

A color in the Purple, Crimson, Magenta family

#8a67a8 is a color in the Purple, Crimson, Magenta family: RGB(138, 103, 168), HSL(272°, 27%, 53%), CMYK(18%, 39%, 0%, 34%). Closest named color: mediumpurple. Contrast is 4.58:1 on white and 4.59:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a67a8
RGBrgb(138 103 168)
RGB (legacy)rgb(138, 103, 168)
RGB %rgb(54% 40% 66%)
HSLhsl(272 27% 53%)
HSV / HSBhsv(272, 39%, 66%)
HWBhwb(272 40% 34%)
CMYKcmyk(18%, 39%, 0%, 34%)
CIELAB (D50)lab(49.19 24.09 -29.76)
LCHlch(49.19 38.29 308.99)
OKLaboklab(0.5747 0.0644 -0.082)
OKLCHoklch(0.5747 0.1043 308.16)
Decimal9070504

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 7.9
Closest web-safe color#996699
Hue272°
Saturation (HSL / HSV)27% / 39%
Lightness (HSL)53%
Brightness or Value (HSV)66%
Luminance (Rec.601 / Rec.709)47% / 45%
Relative luminance (WCAG)0.1793
Red / Green / Blue138 / 103 / 168

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.58:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.59: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.7 / -30 · As background with white / black text: Lc -77.2 / 32.4

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