#8E32C4#8E32C4

#8E32C4 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.217 H 309.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8E32C4
RGBrgb(142, 50, 196)
HSLhsl(278, 59%, 48%)
HSVhsv(278, 74%, 77%)
CMYKcmyk(27.6%, 74.5%, 0%, 23.1%)
CIE-LABlab(41.24, 61.45, -58.99)
CIE-LCHlch(41.24, 85.18, 316.17°)
OKLaboklab(52.1% 0.1377 -0.1673)
OKLCHoklch(52.1% 0.217 309.5)
XYZxyz(22.2577, 12.0179, 53.3610)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32C4 #68C432
analogous
#4532C4 #8E32C4 #C432B1
triadic
#8E32C4 #C48E32 #32C48E
tetradic
#8E32C4 #C44532 #68C432 #32B1C4
square
#8E32C4 #C44532 #68C432 #32B1C4
split-complementary
#8E32C4 #B1C432 #32C445
monochromatic
#471962 #6B2693 #8E32C4 #A95DD6 #C38EE2

Accessibility & contrast

On white

6.17
#8E32C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8E32C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32C4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32C4#FFFFFF#000000##FFFFFF
##8E32C41.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0362C1
Tritanopia (blue-blind)
#865579
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e32c4;
/* rgb */ color: rgb(142, 50, 196);
/* oklch */ color: oklch(52.1% 0.217 309.5);
Tailwind
colors: {
  custom: {
    50: '#b473d7',
    500: '#8e32c4',
    950: '#000000',
  },
}
SCSS
$custom: #8e32c4;
$custom-light: #b473d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32c4",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 196
  },
  "hsl": {
    "h": 277.808,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52101,
    "c": 0.21664,
    "h": 309.5
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#8E32C4
secondary
#A0CD85
accent
#E3457F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E32C4

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

Preview Lab → · Contrast checker → · Palette generator →

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