#8E32C3#8E32C3

#8E32C3 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.216 H 309.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8E32C3
RGBrgb(142, 50, 195)
HSLhsl(278, 59%, 48%)
HSVhsv(278, 74%, 76%)
CMYKcmyk(27.2%, 74.4%, 0%, 23.5%)
CIE-LABlab(41.17, 61.23, -58.52)
CIE-LCHlch(41.17, 84.70, 316.30°)
OKLaboklab(52.03% 0.1379 -0.1659)
OKLCHoklch(52.03% 0.216 309.7)
XYZxyz(22.1443, 11.9726, 52.7636)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32C3 #67C332
analogous
#4532C3 #8E32C3 #C332AF
triadic
#8E32C3 #C38E32 #32C38E
tetradic
#8E32C3 #C34532 #67C332 #32AFC3
square
#8E32C3 #C34532 #67C332 #32AFC3
split-complementary
#8E32C3 #AFC332 #32C345
monochromatic
#471962 #6B2692 #8E32C3 #A95DD5 #C38EE2

Accessibility & contrast

On white

6.19
#8E32C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8E32C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32C3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32C3#FFFFFF#000000##FFFFFF
##8E32C31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0862C0
Tritanopia (blue-blind)
#865478
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e32c3;
/* rgb */ color: rgb(142, 50, 195);
/* oklch */ color: oklch(52.0% 0.216 309.7);
Tailwind
colors: {
  custom: {
    50: '#b473d6',
    500: '#8e32c3',
    950: '#000000',
  },
}
SCSS
$custom: #8e32c3;
$custom-light: #b473d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32c3",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 195
  },
  "hsl": {
    "h": 278.069,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52027,
    "c": 0.2157,
    "h": 309.7
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#8E32C3
secondary
#9FCC85
accent
#E2457F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E32C3

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

Preview Lab → · Contrast checker → · Palette generator →

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