#8E32C8#8E32C8

#8E32C8 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.4% C 0.220 H 308.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8E32C8
RGBrgb(142, 50, 200)
HSLhsl(277, 60%, 49%)
HSVhsv(277, 75%, 78%)
CMYKcmyk(29%, 75%, 0%, 21.6%)
CIE-LABlab(41.54, 62.30, -60.84)
CIE-LCHlch(41.54, 87.08, 315.68°)
OKLaboklab(52.4% 0.1369 -0.1727)
OKLCHoklch(52.4% 0.22 308.4)
XYZxyz(22.7191, 12.2025, 55.7909)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32C8 #6CC832
analogous
#4332C8 #8E32C8 #C832B7
triadic
#8E32C8 #C88E32 #32C88E
tetradic
#8E32C8 #C84332 #6CC832 #32B7C8
square
#8E32C8 #C84332 #6CC832 #32B7C8
split-complementary
#8E32C8 #B7C832 #32C843
monochromatic
#481A66 #6B2697 #8E32C8 #A960D7 #C491E3

Accessibility & contrast

On white

6.10
#8E32C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8E32C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32C8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32C8#FFFFFF#000000##FFFFFF
##8E32C81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#85567B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e32c8;
/* rgb */ color: rgb(142, 50, 200);
/* oklch */ color: oklch(52.4% 0.220 308.4);
Tailwind
colors: {
  custom: {
    50: '#b473da',
    500: '#8e32c8',
    950: '#000000',
  },
}
SCSS
$custom: #8e32c8;
$custom-light: #b473da;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32c8",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 200
  },
  "hsl": {
    "h": 276.8,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.22042,
    "h": 308.4
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#8E32C8
secondary
#A3CE88
accent
#E34582
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E32C8

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

Preview Lab → · Contrast checker → · Palette generator →

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