#8E32C6#8E32C6

#8E32C6 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.219 H 308.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8E32C6
RGBrgb(142, 50, 198)
HSLhsl(277, 60%, 49%)
HSVhsv(277, 75%, 78%)
CMYKcmyk(28.3%, 74.7%, 0%, 22.4%)
CIE-LABlab(41.39, 61.87, -59.91)
CIE-LCHlch(41.39, 86.13, 315.92°)
OKLaboklab(52.25% 0.1373 -0.17)
OKLCHoklch(52.25% 0.219 308.9)
XYZxyz(22.4869, 12.1096, 54.5679)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32C6 #6AC632
analogous
#4432C6 #8E32C6 #C632B4
triadic
#8E32C6 #C68E32 #32C68E
tetradic
#8E32C6 #C64432 #6AC632 #32B4C6
square
#8E32C6 #C64432 #6AC632 #32B4C6
split-complementary
#8E32C6 #B4C632 #32C644
monochromatic
#481964 #6B2695 #8E32C6 #A95FD7 #C390E3

Accessibility & contrast

On white

6.14
#8E32C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8E32C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32C6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32C6#FFFFFF#000000##FFFFFF
##8E32C61.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#85557A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e32c6;
/* rgb */ color: rgb(142, 50, 198);
/* oklch */ color: oklch(52.2% 0.219 308.9);
Tailwind
colors: {
  custom: {
    50: '#b473d8',
    500: '#8e32c6',
    950: '#000000',
  },
}
SCSS
$custom: #8e32c6;
$custom-light: #b473d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32c6",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 198
  },
  "hsl": {
    "h": 277.297,
    "s": 59.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.21853,
    "h": 308.9
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#8E32C6
secondary
#A1CD86
accent
#E34581
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #8E32C6

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

Preview Lab → · Contrast checker → · Palette generator →

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