#8E36A2#8E36A2

#8E36A2 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.180 H 319.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8E36A2
RGBrgb(142, 54, 162)
HSLhsl(289, 50%, 42%)
HSVhsv(289, 67%, 64%)
CMYKcmyk(12.3%, 66.7%, 0%, 36.5%)
CIE-LABlab(39.58, 52.77, -41.57)
CIE-LCHlch(39.58, 67.17, 321.77°)
OKLaboklab(50.2% 0.137 -0.1162)
OKLCHoklch(50.2% 0.18 319.7)
XYZxyz(18.9953, 10.9986, 35.2978)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36A2 #4AA236
analogous
#5836A2 #8E36A2 #A23680
triadic
#8E36A2 #A28E36 #36A28E
tetradic
#8E36A2 #A25836 #4AA236 #3680A2
square
#8E36A2 #A25836 #4AA236 #3680A2
split-complementary
#8E36A2 #80A236 #36A258
monochromatic
#3E1746 #662774 #8E36A2 #AF50C5 #C47ED4

Accessibility & contrast

On white

6.56
#8E36A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8E36A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36A2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36A2#FFFFFF#000000##FFFFFF
##8E36A21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1257A5
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#8E4967
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e36a2;
/* rgb */ color: rgb(142, 54, 162);
/* oklch */ color: oklch(50.2% 0.180 319.7);
Tailwind
colors: {
  custom: {
    50: '#b274be',
    500: '#8e36a2',
    950: '#000000',
  },
}
SCSS
$custom: #8e36a2;
$custom-light: #b274be;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36a2",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 288.889,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.17965,
    "h": 319.7
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#8E36A2
secondary
#84BD77
accent
#DA4E68
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8E36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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