#8E329D#8E329D

#8E329D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.4% C 0.180 H 321.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8E329D
RGBrgb(142, 50, 157)
HSLhsl(292, 52%, 41%)
HSVhsv(292, 68%, 62%)
CMYKcmyk(9.6%, 68.2%, 0%, 38.4%)
CIE-LABlab(38.67, 53.50, -40.01)
CIE-LCHlch(38.67, 66.81, 323.21°)
OKLaboklab(49.45% 0.1417 -0.1116)
OKLCHoklch(49.45% 0.18 321.8)
XYZxyz(18.3811, 10.4673, 32.9439)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E329D #419D32
analogous
#58329D #8E329D #9D3276
triadic
#8E329D #9D8E32 #329D8E
tetradic
#8E329D #9D5832 #419D32 #32769D
square
#8E329D #9D5832 #419D32 #32769D
split-complementary
#8E329D #769D32 #329D58
monochromatic
#3A1440 #64236F #8E329D #B348C5 #C676D3

Accessibility & contrast

On white

6.79
#8E329D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8E329D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E329D
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E329D#FFFFFF#000000##FFFFFF
##8E329D1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1154A0
Deuteranopia (green-blind)
#3F5F9A
Tritanopia (blue-blind)
#904463
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e329d;
/* rgb */ color: rgb(142, 50, 157);
/* oklch */ color: oklch(49.4% 0.180 321.8);
Tailwind
colors: {
  custom: {
    50: '#b272ba',
    500: '#8e329d',
    950: '#000000',
  },
}
SCSS
$custom: #8e329d;
$custom-light: #b272ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e329d",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 291.589,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49446,
    "c": 0.18036,
    "h": 321.8
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

primary
#8E329D
secondary
#7ABC6F
accent
#DB4D61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E329D

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

Preview Lab → · Contrast checker → · Palette generator →

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