#8A329D#8A329D

#8A329D is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.179 H 320.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A329D
RGBrgb(138, 50, 157)
HSLhsl(289, 52%, 41%)
HSVhsv(289, 68%, 62%)
CMYKcmyk(12.1%, 68.2%, 0%, 38.4%)
CIE-LABlab(38.06, 52.56, -41.02)
CIE-LCHlch(38.06, 66.68, 322.03°)
OKLaboklab(48.88% 0.1368 -0.1147)
OKLCHoklch(48.88% 0.179 320)
XYZxyz(17.7069, 10.1197, 32.9123)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A329D #459D32
analogous
#54329D #8A329D #9D327A
triadic
#8A329D #9D8A32 #329D8A
tetradic
#8A329D #9D5432 #459D32 #327A9D
square
#8A329D #9D5432 #459D32 #327A9D
split-complementary
#8A329D #7A9D32 #329D54
monochromatic
#381440 #61236F #8A329D #AE48C5 #C376D3

Accessibility & contrast

On white

6.94
#8A329D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8A329D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A329D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A329D#FFFFFF#000000##FFFFFF
##8A329D1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B54A0
Deuteranopia (green-blind)
#3B5D9A
Tritanopia (blue-blind)
#8B4563
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a329d;
/* rgb */ color: rgb(138, 50, 157);
/* oklch */ color: oklch(48.9% 0.179 320.0);
Tailwind
colors: {
  custom: {
    50: '#af71ba',
    500: '#8a329d',
    950: '#000000',
  },
}
SCSS
$custom: #8a329d;
$custom-light: #af71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a329d",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 289.346,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48882,
    "c": 0.17853,
    "h": 320
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#8A329D
secondary
#7DBC6F
accent
#DB4D66
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A329D

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

Preview Lab → · Contrast checker → · Palette generator →

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