#8E20AE#8E20AE

#8E20AE is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 49.0% C 0.215 H 316.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8E20AE
RGBrgb(142, 32, 174)
HSLhsl(286, 69%, 40%)
HSVhsv(286, 82%, 68%)
CMYKcmyk(18.4%, 81.6%, 0%, 31.8%)
CIE-LABlab(37.55, 63.10, -51.99)
CIE-LCHlch(37.55, 81.76, 320.51°)
OKLaboklab(49.01% 0.1566 -0.1466)
OKLCHoklch(49.01% 0.215 316.9)
XYZxyz(19.3107, 9.8406, 40.9184)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E20AE #40AE20
analogous
#4720AE #8E20AE #AE2087
triadic
#8E20AE #AE8E20 #20AE8E
tetradic
#8E20AE #AE4720 #40AE20 #2087AE
square
#8E20AE #AE4720 #40AE20 #2087AE
split-complementary
#8E20AE #87AE20 #20AE47
monochromatic
#3A0D47 #64167A #8E20AE #B432D9 #C766E3

Accessibility & contrast

On white

7.08
#8E20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8E20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E20AE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E20AE#FFFFFF#000000##FFFFFF
##8E20AE1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#215BAB
Tritanopia (blue-blind)
#8C4269
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e20ae;
/* rgb */ color: rgb(142, 32, 174);
/* oklch */ color: oklch(49.0% 0.215 316.9);
Tailwind
colors: {
  custom: {
    50: '#b46bc7',
    500: '#8e20ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e20ae;
$custom-light: #b46bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e20ae",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 286.479,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.21453,
    "h": 316.9
  },
  "luminance": 0.0984
}

Semantic roles & 50–950 ramp

primary
#8E20AE
secondary
#79C862
accent
#EC3C64
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8E20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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