#8E33AC#8E33AC

#8E33AC is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.193 H 316.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8E33AC
RGBrgb(142, 51, 172)
HSLhsl(285, 54%, 44%)
HSVhsv(285, 70%, 67%)
CMYKcmyk(17.4%, 70.3%, 0%, 32.5%)
CIE-LABlab(39.74, 56.04, -47.27)
CIE-LCHlch(39.74, 73.32, 319.85°)
OKLaboklab(50.52% 0.1398 -0.1329)
OKLCHoklch(50.52% 0.193 316.5)
XYZxyz(19.7844, 11.0978, 40.1217)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E33AC #51AC33
analogous
#5133AC #8E33AC #AC338D
triadic
#8E33AC #AC8E33 #33AC8E
tetradic
#8E33AC #AC5133 #51AC33 #338DAC
square
#8E33AC #AC5133 #51AC33 #338DAC
split-complementary
#8E33AC #8DAC33 #33AC51
monochromatic
#40174E #67257D #8E33AC #AD51CB #C380D9

Accessibility & contrast

On white

6.52
#8E33AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8E33AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E33AC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E33AC#FFFFFF#000000##FFFFFF
##8E33AC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#3460A9
Tritanopia (blue-blind)
#8C4B6C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e33ac;
/* rgb */ color: rgb(142, 51, 172);
/* oklch */ color: oklch(50.5% 0.193 316.5);
Tailwind
colors: {
  custom: {
    50: '#b373c5',
    500: '#8e33ac',
    950: '#000000',
  },
}
SCSS
$custom: #8e33ac;
$custom-light: #b373c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e33ac",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 285.124,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.19291,
    "h": 316.5
  },
  "luminance": 0.11097
}

Semantic roles & 50–950 ramp

primary
#8E33AC
secondary
#8BC278
accent
#DE4A6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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