#8A3284#8A3284

#8A3284 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.156 H 330.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A3284
RGBrgb(138, 50, 132)
HSLhsl(304, 47%, 37%)
HSVhsv(304, 64%, 54%)
CMYKcmyk(0%, 63.8%, 4.3%, 45.9%)
CIE-LABlab(36.65, 47.89, -27.98)
CIE-LCHlch(36.65, 55.47, 329.70°)
OKLaboklab(47.41% 0.1359 -0.0769)
OKLCHoklch(47.41% 0.156 330.5)
XYZxyz(15.7866, 9.3515, 22.7989)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3284 #328A38
analogous
#64328A #8A3284 #8A3258
triadic
#8A3284 #848A32 #32848A
tetradic
#8A3284 #8A6432 #328A38 #32588A
square
#8A3284 #8A6432 #328A38 #32588A
split-complementary
#8A3284 #588A32 #328A64
monochromatic
#30112E #5D2259 #8A3284 #B742AF #CA6CC4

Accessibility & contrast

On white

7.32
#8A3284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A3284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3284
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3284#FFFFFF#000000##FFFFFF
##8A32841.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E86
Deuteranopia (green-blind)
#4A5B82
Tritanopia (blue-blind)
#8F3B56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3284;
/* rgb */ color: rgb(138, 50, 132);
/* oklch */ color: oklch(47.4% 0.156 330.5);
Tailwind
colors: {
  custom: {
    50: '#af70a8',
    500: '#8a3284',
    950: '#000000',
  },
}
SCSS
$custom: #8a3284;
$custom-light: #af70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3284",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 304.091,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47413,
    "c": 0.15612,
    "h": 330.5
  },
  "luminance": 0.0935
}

Semantic roles & 50–950 ramp

primary
#8A3284
secondary
#66B26B
accent
#D65A51
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A3284

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

Preview Lab → · Contrast checker → · Palette generator →

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