#8E32B2#8E32B2

#8E32B2 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.200 H 314.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8E32B2
RGBrgb(142, 50, 178)
HSLhsl(283, 56%, 45%)
HSVhsv(283, 72%, 70%)
CMYKcmyk(20.2%, 71.9%, 0%, 30.2%)
CIE-LABlab(39.99, 57.67, -50.43)
CIE-LCHlch(39.99, 76.61, 318.83°)
OKLaboklab(50.82% 0.1403 -0.1421)
OKLCHoklch(50.82% 0.2 314.6)
XYZxyz(20.3305, 11.2470, 43.2108)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32B2 #56B232
analogous
#4E32B2 #8E32B2 #B23296
triadic
#8E32B2 #B28E32 #32B28E
tetradic
#8E32B2 #B24E32 #56B232 #3296B2
square
#8E32B2 #B24E32 #56B232 #3296B2
split-complementary
#8E32B2 #96B232 #32B24E
monochromatic
#421752 #682582 #8E32B2 #AC53CF #C382DC

Accessibility & contrast

On white

6.46
#8E32B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8E32B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32B2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32B2#FFFFFF#000000##FFFFFF
##8E32B21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#2C61AF
Tritanopia (blue-blind)
#8B4D6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e32b2;
/* rgb */ color: rgb(142, 50, 178);
/* oklch */ color: oklch(50.8% 0.200 314.6);
Tailwind
colors: {
  custom: {
    50: '#b372ca',
    500: '#8e32b2',
    950: '#000000',
  },
}
SCSS
$custom: #8e32b2;
$custom-light: #b372ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32b2",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 283.125,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.19973,
    "h": 314.6
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#8E32B2
secondary
#90C57B
accent
#DF4873
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E32B2

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

Preview Lab → · Contrast checker → · Palette generator →

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