#8A329F#8A329F

#8A329F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.180 H 319.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8A329F
RGBrgb(138, 50, 159)
HSLhsl(288, 52%, 41%)
HSVhsv(288, 69%, 62%)
CMYKcmyk(13.2%, 68.6%, 0%, 37.6%)
CIE-LABlab(38.18, 52.96, -42.03)
CIE-LCHlch(38.18, 67.61, 321.56°)
OKLaboklab(49.01% 0.1367 -0.1177)
OKLCHoklch(49.01% 0.18 319.3)
XYZxyz(17.8790, 10.1885, 33.8190)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A329F #479F32
analogous
#53329F #8A329F #9F327D
triadic
#8A329F #9F8A32 #329F8A
tetradic
#8A329F #9F5332 #479F32 #327D9F
square
#8A329F #9F5332 #479F32 #327D9F
split-complementary
#8A329F #7D9F32 #329F53
monochromatic
#391542 #622370 #8A329F #AE49C6 #C277D4

Accessibility & contrast

On white

6.91
#8A329F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A329F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A329F
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A329F#FFFFFF#000000##FFFFFF
##8A329F1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0454A2
Deuteranopia (green-blind)
#3A5D9C
Tritanopia (blue-blind)
#8A4664
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a329f;
/* rgb */ color: rgb(138, 50, 159);
/* oklch */ color: oklch(49.0% 0.180 319.3);
Tailwind
colors: {
  custom: {
    50: '#af71bc',
    500: '#8a329f',
    950: '#000000',
  },
}
SCSS
$custom: #8a329f;
$custom-light: #af71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a329f",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 288.44,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4901,
    "c": 0.18038,
    "h": 319.3
  },
  "luminance": 0.10188
}

Semantic roles & 50–950 ramp

primary
#8A329F
secondary
#7FBD70
accent
#DC4C68
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A329F

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

Preview Lab → · Contrast checker → · Palette generator →

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