#8E32A2#8E32A2

#8E32A2 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.185 H 319.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8E32A2
RGBrgb(142, 50, 162)
HSLhsl(289, 53%, 42%)
HSVhsv(289, 69%, 64%)
CMYKcmyk(12.3%, 69.1%, 0%, 36.5%)
CIE-LABlab(38.97, 54.47, -42.54)
CIE-LCHlch(38.97, 69.11, 322.01°)
OKLaboklab(49.76% 0.1415 -0.119)
OKLCHoklch(49.76% 0.185 319.9)
XYZxyz(18.8167, 10.6415, 35.2383)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32A2 #46A232
analogous
#5632A2 #8E32A2 #A2327E
triadic
#8E32A2 #A28E32 #32A28E
tetradic
#8E32A2 #A25632 #46A232 #327EA2
square
#8E32A2 #A25632 #46A232 #327EA2
split-complementary
#8E32A2 #7EA232 #32A256
monochromatic
#3C1544 #652473 #8E32A2 #B14AC7 #C579D6

Accessibility & contrast

On white

6.71
#8E32A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8E32A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32A2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32A2#FFFFFF#000000##FFFFFF
##8E32A21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0255A5
Deuteranopia (green-blind)
#3B5F9F
Tritanopia (blue-blind)
#8E4666
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e32a2;
/* rgb */ color: rgb(142, 50, 162);
/* oklch */ color: oklch(49.8% 0.185 319.9);
Tailwind
colors: {
  custom: {
    50: '#b272be',
    500: '#8e32a2',
    950: '#000000',
  },
}
SCSS
$custom: #8e32a2;
$custom-light: #b272be;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32a2",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 289.286,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4976,
    "c": 0.18492,
    "h": 319.9
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#8E32A2
secondary
#7FBE72
accent
#DC4C65
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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