#8A329E#8A329E

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

Color values

HEX#8A329E
RGBrgb(138, 50, 158)
HSLhsl(289, 52%, 41%)
HSVhsv(289, 68%, 62%)
CMYKcmyk(12.7%, 68.4%, 0%, 38%)
CIE-LABlab(38.12, 52.76, -41.53)
CIE-LCHlch(38.12, 67.14, 321.79°)
OKLaboklab(48.95% 0.1368 -0.1162)
OKLCHoklch(48.95% 0.179 319.6)
XYZxyz(17.7926, 10.1539, 33.3638)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A329E #469E32
analogous
#54329E #8A329E #9E327C
triadic
#8A329E #9E8A32 #329E8A
tetradic
#8A329E #9E5432 #469E32 #327C9E
square
#8A329E #9E5432 #469E32 #327C9E
split-complementary
#8A329E #7C9E32 #329E54
monochromatic
#391541 #612370 #8A329E #AE48C5 #C377D4

Accessibility & contrast

On white

6.93
#8A329E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A329E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A329E
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A329E#FFFFFF#000000##FFFFFF
##8A329E1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0754A1
Deuteranopia (green-blind)
#3A5D9B
Tritanopia (blue-blind)
#8A4564
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a329e;
/* rgb */ color: rgb(138, 50, 158);
/* oklch */ color: oklch(48.9% 0.179 319.6);
Tailwind
colors: {
  custom: {
    50: '#af71bb',
    500: '#8a329e',
    950: '#000000',
  },
}
SCSS
$custom: #8a329e;
$custom-light: #af71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a329e",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 288.889,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.17945,
    "h": 319.6
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

primary
#8A329E
secondary
#7EBC70
accent
#DB4C67
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A329E

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

Preview Lab → · Contrast checker → · Palette generator →

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