#8E329A#8E329A

#8E329A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.178 H 322.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8E329A
RGBrgb(142, 50, 154)
HSLhsl(293, 51%, 40%)
HSVhsv(293, 68%, 60%)
CMYKcmyk(7.8%, 67.5%, 0%, 39.6%)
CIE-LABlab(38.49, 52.93, -38.48)
CIE-LCHlch(38.49, 65.44, 323.98°)
OKLaboklab(49.26% 0.1417 -0.1072)
OKLCHoklch(49.26% 0.178 322.9)
XYZxyz(18.1281, 10.3661, 31.6116)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E329A #3E9A32
analogous
#5A329A #8E329A #9A3272
triadic
#8E329A #9A8E32 #329A8E
tetradic
#8E329A #9A5A32 #3E9A32 #32729A
square
#8E329A #9A5A32 #3E9A32 #32729A
split-complementary
#8E329A #729A32 #329A5A
monochromatic
#39143E #63236C #8E329A #B546C3 #C774D2

Accessibility & contrast

On white

6.83
#8E329A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8E329A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E329A
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E329A#FFFFFF#000000##FFFFFF
##8E329A1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549D
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#904362
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e329a;
/* rgb */ color: rgb(142, 50, 154);
/* oklch */ color: oklch(49.3% 0.178 322.9);
Tailwind
colors: {
  custom: {
    50: '#b271b8',
    500: '#8e329a',
    950: '#000000',
  },
}
SCSS
$custom: #8e329a;
$custom-light: #b271b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e329a",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 293.077,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.17766,
    "h": 322.9
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#8E329A
secondary
#77BA6E
accent
#DA4D5E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E329A

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

Preview Lab → · Contrast checker → · Palette generator →

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