#8A329A#8A329A

#8A329A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.176 H 321.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A329A
RGBrgb(138, 50, 154)
HSLhsl(291, 51%, 40%)
HSVhsv(291, 68%, 60%)
CMYKcmyk(10.4%, 67.5%, 0%, 39.6%)
CIE-LABlab(37.88, 51.98, -39.50)
CIE-LCHlch(37.88, 65.28, 322.77°)
OKLaboklab(48.69% 0.1369 -0.1103)
OKLCHoklch(48.69% 0.176 321.1)
XYZxyz(17.4539, 10.0185, 31.5800)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A329A #429A32
analogous
#56329A #8A329A #9A3276
triadic
#8A329A #9A8A32 #329A8A
tetradic
#8A329A #9A5632 #429A32 #32769A
square
#8A329A #9A5632 #429A32 #32769A
split-complementary
#8A329A #769A32 #329A56
monochromatic
#37143E #61236C #8A329A #B046C3 #C474D2

Accessibility & contrast

On white

6.99
#8A329A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#8A329A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A329A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A329A#FFFFFF#000000##FFFFFF
##8A329A1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539D
Deuteranopia (green-blind)
#3D5C97
Tritanopia (blue-blind)
#8B4462
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a329a;
/* rgb */ color: rgb(138, 50, 154);
/* oklch */ color: oklch(48.7% 0.176 321.1);
Tailwind
colors: {
  custom: {
    50: '#af71b8',
    500: '#8a329a',
    950: '#000000',
  },
}
SCSS
$custom: #8a329a;
$custom-light: #af71b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a329a",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 290.769,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.17575,
    "h": 321.1
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#8A329A
secondary
#79BA6E
accent
#DA4D63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A329A

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

Preview Lab → · Contrast checker → · Palette generator →

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