#8A4A88#8A4A88

#8A4A88 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 50.9% C 0.120 H 328.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A4A88
RGBrgb(138, 74, 136)
HSLhsl(302, 30%, 42%)
HSVhsv(302, 46%, 54%)
CMYKcmyk(0%, 46.4%, 1.4%, 45.9%)
CIE-LABlab(41.34, 36.60, -23.12)
CIE-LCHlch(41.34, 43.29, 327.72°)
OKLaboklab(50.93% 0.1023 -0.0631)
OKLCHoklch(50.93% 0.12 328.3)
XYZxyz(17.3737, 12.0793, 24.7042)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4A88 #4A8A4C
analogous
#6C4A8A #8A4A88 #8A4A68
triadic
#8A4A88 #888A4A #4A888A
tetradic
#8A4A88 #8A6C4A #4A8A4C #4A688A
square
#8A4A88 #8A6C4A #4A8A4C #4A688A
split-complementary
#8A4A88 #688A4A #4A8A6C
monochromatic
#3A1F39 #623561 #8A4A88 #AC65AA #C28DC0

Accessibility & contrast

On white

6.15
#8A4A88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A4A88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4A88
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4A88#FFFFFF#000000##FFFFFF
##8A4A881.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8A
Deuteranopia (green-blind)
#576586
Tritanopia (blue-blind)
#8E5062
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4a88;
/* rgb */ color: rgb(138, 74, 136);
/* oklch */ color: oklch(50.9% 0.120 328.3);
Tailwind
colors: {
  custom: {
    50: '#ae7fab',
    500: '#8a4a88',
    950: '#000000',
  },
}
SCSS
$custom: #8a4a88;
$custom-light: #ae7fab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4a88",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 136
  },
  "hsl": {
    "h": 301.875,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.12019,
    "h": 328.3
  },
  "luminance": 0.12078
}

Semantic roles & 50–950 ramp

primary
#8A4A88
secondary
#82AE83
accent
#C66561
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4A88

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A4A88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva