#8A3684#8A3684

#8A3684 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.9% C 0.150 H 330.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8A3684
RGBrgb(138, 54, 132)
HSLhsl(304, 44%, 38%)
HSVhsv(304, 61%, 54%)
CMYKcmyk(0%, 60.9%, 4.3%, 45.9%)
CIE-LABlab(37.31, 46.07, -26.95)
CIE-LCHlch(37.31, 53.37, 329.68°)
OKLaboklab(47.9% 0.1306 -0.0739)
OKLCHoklch(47.9% 0.15 330.5)
XYZxyz(15.9652, 9.7086, 22.8584)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3684 #368A3C
analogous
#66368A #8A3684 #8A365A
triadic
#8A3684 #848A36 #36848A
tetradic
#8A3684 #8A6636 #368A3C #365A8A
square
#8A3684 #8A6636 #368A3C #365A8A
split-complementary
#8A3684 #5A8A36 #368A66
monochromatic
#321430 #5E255A #8A3684 #B647AE #C872C2

Accessibility & contrast

On white

7.14
#8A3684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A3684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3684
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3684#FFFFFF#000000##FFFFFF
##8A36841.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315086
Deuteranopia (green-blind)
#4C5C82
Tritanopia (blue-blind)
#8F3E58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3684;
/* rgb */ color: rgb(138, 54, 132);
/* oklch */ color: oklch(47.9% 0.150 330.5);
Tailwind
colors: {
  custom: {
    50: '#af72a8',
    500: '#8a3684',
    950: '#000000',
  },
}
SCSS
$custom: #8a3684;
$custom-light: #af72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3684",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 304.286,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47896,
    "c": 0.15011,
    "h": 330.5
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#8A3684
secondary
#6BB170
accent
#D35D54
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3684

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

Preview Lab → · Contrast checker → · Palette generator →

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