#8E32C2#8E32C2

#8E32C2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.215 H 310.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8E32C2
RGBrgb(142, 50, 194)
HSLhsl(278, 59%, 48%)
HSVhsv(278, 74%, 76%)
CMYKcmyk(26.8%, 74.2%, 0%, 23.9%)
CIE-LABlab(41.10, 61.02, -58.05)
CIE-LCHlch(41.10, 84.22, 316.43°)
OKLaboklab(51.95% 0.138 -0.1645)
OKLCHoklch(51.95% 0.215 310)
XYZxyz(22.0316, 11.9275, 52.1701)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32C2 #66C232
analogous
#4632C2 #8E32C2 #C232AE
triadic
#8E32C2 #C28E32 #32C28E
tetradic
#8E32C2 #C24632 #66C232 #32AEC2
square
#8E32C2 #C24632 #66C232 #32AEC2
split-complementary
#8E32C2 #AEC232 #32C246
monochromatic
#471961 #6A2591 #8E32C2 #A95CD5 #C38DE2

Accessibility & contrast

On white

6.20
#8E32C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E32C2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32C2#FFFFFF#000000##FFFFFF
##8E32C21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0C62BF
Tritanopia (blue-blind)
#875478
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e32c2;
/* rgb */ color: rgb(142, 50, 194);
/* oklch */ color: oklch(52.0% 0.215 310.0);
Tailwind
colors: {
  custom: {
    50: '#b473d5',
    500: '#8e32c2',
    950: '#000000',
  },
}
SCSS
$custom: #8e32c2;
$custom-light: #b473d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32c2",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 278.333,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.21475,
    "h": 310
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#8E32C2
secondary
#9ECC84
accent
#E2467E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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