#8E36BA#8E36BA

#8E36BA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.203 H 311.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8E36BA
RGBrgb(142, 54, 186)
HSLhsl(280, 55%, 47%)
HSVhsv(280, 71%, 73%)
CMYKcmyk(23.7%, 71%, 0%, 27.1%)
CIE-LABlab(41.11, 57.70, -53.35)
CIE-LCHlch(41.11, 78.58, 317.24°)
OKLaboklab(51.79% 0.1353 -0.1507)
OKLCHoklch(51.79% 0.203 311.9)
XYZxyz(21.3358, 11.9349, 47.6246)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36BA #62BA36
analogous
#4C36BA #8E36BA #BA36A4
triadic
#8E36BA #BA8E36 #36BA8E
tetradic
#8E36BA #BA4C36 #62BA36 #36A4BA
square
#8E36BA #BA4C36 #62BA36 #36A4BA
split-complementary
#8E36BA #A4BA36 #36BA4C
monochromatic
#461A5B #6A288B #8E36BA #AA5DD0 #C38DDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E36BA#FFFFFF#000000##FFFFFF
##8E36BA1.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)
#005DBE
Deuteranopia (green-blind)
#2663B7
Tritanopia (blue-blind)
#895374
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e36ba;
/* rgb */ color: rgb(142, 54, 186);
/* oklch */ color: oklch(51.8% 0.203 311.9);
Tailwind
colors: {
  custom: {
    50: '#b375cf',
    500: '#8e36ba',
    950: '#000000',
  },
}
SCSS
$custom: #8e36ba;
$custom-light: #b375cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36ba",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 280,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51786,
    "c": 0.20255,
    "h": 311.9
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#8E36BA
secondary
#9AC884
accent
#DE497B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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