#8E33AB#8E33AB

#8E33AB is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.192 H 316.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8E33AB
RGBrgb(142, 51, 171)
HSLhsl(286, 54%, 44%)
HSVhsv(286, 70%, 67%)
CMYKcmyk(17%, 70.2%, 0%, 32.9%)
CIE-LABlab(39.68, 55.84, -46.78)
CIE-LCHlch(39.68, 72.85, 320.05°)
OKLaboklab(50.45% 0.1399 -0.1314)
OKLCHoklch(50.45% 0.192 316.8)
XYZxyz(19.6887, 11.0595, 39.6178)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E33AB #50AB33
analogous
#5233AB #8E33AB #AB338C
triadic
#8E33AB #AB8E33 #33AB8E
tetradic
#8E33AB #AB5233 #50AB33 #338CAB
square
#8E33AB #AB5233 #50AB33 #338CAB
split-complementary
#8E33AB #8CAB33 #33AB52
monochromatic
#40174D #67257C #8E33AB #AD50CB #C37FD9

Accessibility & contrast

On white

6.54
#8E33AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8E33AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E33AB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E33AB#FFFFFF#000000##FFFFFF
##8E33AB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3560A8
Tritanopia (blue-blind)
#8C4B6B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e33ab;
/* rgb */ color: rgb(142, 51, 171);
/* oklch */ color: oklch(50.4% 0.192 316.8);
Tailwind
colors: {
  custom: {
    50: '#b373c5',
    500: '#8e33ab',
    950: '#000000',
  },
}
SCSS
$custom: #8e33ab;
$custom-light: #b373c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e33ab",
  "rgb": {
    "r": 142,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 285.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50449,
    "c": 0.19198,
    "h": 316.8
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#8E33AB
secondary
#8AC278
accent
#DD4A6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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