#8E32C0#8E32C0

#8E32C0 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.8% C 0.213 H 310.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8E32C0
RGBrgb(142, 50, 192)
HSLhsl(279, 59%, 47%)
HSVhsv(279, 74%, 75%)
CMYKcmyk(26%, 74%, 0%, 24.7%)
CIE-LABlab(40.96, 60.59, -57.11)
CIE-LCHlch(40.96, 83.27, 316.69°)
OKLaboklab(51.81% 0.1384 -0.1618)
OKLCHoklch(51.81% 0.213 310.5)
XYZxyz(21.8085, 11.8383, 50.9951)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32C0 #64C032
analogous
#4732C0 #8E32C0 #C032AB
triadic
#8E32C0 #C08E32 #32C08E
tetradic
#8E32C0 #C04732 #64C032 #32ABC0
square
#8E32C0 #C04732 #64C032 #32ABC0
split-complementary
#8E32C0 #ABC032 #32C047
monochromatic
#46195F #6A258F #8E32C0 #AA5BD4 #C38BE1

Accessibility & contrast

On white

6.24
#8E32C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8E32C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32C0
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32C0#FFFFFF#000000##FFFFFF
##8E32C01.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#1362BD
Tritanopia (blue-blind)
#875377
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e32c0;
/* rgb */ color: rgb(142, 50, 192);
/* oklch */ color: oklch(51.8% 0.213 310.5);
Tailwind
colors: {
  custom: {
    50: '#b473d4',
    500: '#8e32c0',
    950: '#000000',
  },
}
SCSS
$custom: #8e32c0;
$custom-light: #b473d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32c0",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 278.873,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.21288,
    "h": 310.5
  },
  "luminance": 0.11838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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