#8A3584#8A3584

#8A3584 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.152 H 330.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8A3584
RGBrgb(138, 53, 132)
HSLhsl(304, 45%, 37%)
HSVhsv(304, 62%, 54%)
CMYKcmyk(0%, 61.6%, 4.3%, 45.9%)
CIE-LABlab(37.15, 46.54, -27.21)
CIE-LCHlch(37.15, 53.91, 329.69°)
OKLaboklab(47.77% 0.132 -0.0747)
OKLCHoklch(47.77% 0.152 330.5)
XYZxyz(15.9191, 9.6165, 22.8430)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3584 #358A3B
analogous
#65358A #8A3584 #8A355A
triadic
#8A3584 #848A35 #35848A
tetradic
#8A3584 #8A6535 #358A3B #355A8A
square
#8A3584 #8A6535 #358A3B #355A8A
split-complementary
#8A3584 #5A8A35 #358A65
monochromatic
#32132F #5E245A #8A3584 #B646AE #C871C2

Accessibility & contrast

On white

7.18
#8A3584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A3584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3584
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3584#FFFFFF#000000##FFFFFF
##8A35841.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5086
Deuteranopia (green-blind)
#4C5C82
Tritanopia (blue-blind)
#8F3D57
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3584;
/* rgb */ color: rgb(138, 53, 132);
/* oklch */ color: oklch(47.8% 0.152 330.5);
Tailwind
colors: {
  custom: {
    50: '#af72a8',
    500: '#8a3584',
    950: '#000000',
  },
}
SCSS
$custom: #8a3584;
$custom-light: #af72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3584",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 132
  },
  "hsl": {
    "h": 304.235,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47772,
    "c": 0.15164,
    "h": 330.5
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#8A3584
secondary
#6AB16F
accent
#D45D54
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3584

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

Preview Lab → · Contrast checker → · Palette generator →

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