#8E32C1#8E32C1

#8E32C1 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.214 H 310.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8E32C1
RGBrgb(142, 50, 193)
HSLhsl(279, 59%, 48%)
HSVhsv(279, 74%, 76%)
CMYKcmyk(26.4%, 74.1%, 0%, 24.3%)
CIE-LABlab(41.03, 60.81, -57.58)
CIE-LCHlch(41.03, 83.75, 316.56°)
OKLaboklab(51.88% 0.1382 -0.1631)
OKLCHoklch(51.88% 0.214 310.3)
XYZxyz(21.9197, 11.8827, 51.5806)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32C1 #65C132
analogous
#4632C1 #8E32C1 #C132AD
triadic
#8E32C1 #C18E32 #32C18E
tetradic
#8E32C1 #C14632 #65C132 #32ADC1
square
#8E32C1 #C14632 #65C132 #32ADC1
split-complementary
#8E32C1 #ADC132 #32C146
monochromatic
#461960 #6A2590 #8E32C1 #A95CD5 #C38CE1

Accessibility & contrast

On white

6.22
#8E32C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8E32C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32C1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32C1#FFFFFF#000000##FFFFFF
##8E32C11.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#1062BE
Tritanopia (blue-blind)
#875377
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e32c1;
/* rgb */ color: rgb(142, 50, 193);
/* oklch */ color: oklch(51.9% 0.214 310.3);
Tailwind
colors: {
  custom: {
    50: '#b473d5',
    500: '#8e32c1',
    950: '#000000',
  },
}
SCSS
$custom: #8e32c1;
$custom-light: #b473d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32c1",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 278.601,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.21382,
    "h": 310.3
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#8E32C1
secondary
#9DCB83
accent
#E2467D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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