#8E329F#8E329F

#8E329F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.182 H 321.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8E329F
RGBrgb(142, 50, 159)
HSLhsl(291, 52%, 41%)
HSVhsv(291, 69%, 62%)
CMYKcmyk(10.7%, 68.6%, 0%, 37.6%)
CIE-LABlab(38.79, 53.89, -41.03)
CIE-LCHlch(38.79, 67.73, 322.72°)
OKLaboklab(49.57% 0.1416 -0.1146)
OKLCHoklch(49.57% 0.182 321)
XYZxyz(18.5532, 10.5361, 33.8506)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E329F #439F32
analogous
#57329F #8E329F #9F3279
triadic
#8E329F #9F8E32 #329F8E
tetradic
#8E329F #9F5732 #439F32 #32799F
square
#8E329F #9F5732 #439F32 #32799F
split-complementary
#8E329F #799F32 #329F57
monochromatic
#3B1542 #642370 #8E329F #B249C6 #C677D4

Accessibility & contrast

On white

6.76
#8E329F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8E329F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E329F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E329F#FFFFFF#000000##FFFFFF
##8E329F1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C55A2
Deuteranopia (green-blind)
#3E5F9C
Tritanopia (blue-blind)
#8F4564
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e329f;
/* rgb */ color: rgb(142, 50, 159);
/* oklch */ color: oklch(49.6% 0.182 321.0);
Tailwind
colors: {
  custom: {
    50: '#b272bc',
    500: '#8e329f',
    950: '#000000',
  },
}
SCSS
$custom: #8e329f;
$custom-light: #b272bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e329f",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 159
  },
  "hsl": {
    "h": 290.642,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.18218,
    "h": 321
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#8E329F
secondary
#7CBD70
accent
#DC4C63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E329F

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

Preview Lab → · Contrast checker → · Palette generator →

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