#8C20AE#8C20AE

#8C20AE is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.214 H 316.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8C20AE
RGBrgb(140, 32, 174)
HSLhsl(286, 69%, 40%)
HSVhsv(286, 82%, 68%)
CMYKcmyk(19.5%, 81.6%, 0%, 31.8%)
CIE-LABlab(37.23, 62.74, -52.52)
CIE-LCHlch(37.23, 81.83, 320.07°)
OKLaboklab(48.72% 0.1542 -0.1482)
OKLCHoklch(48.72% 0.214 316.1)
XYZxyz(18.9705, 9.6652, 40.9025)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C20AE #42AE20
analogous
#4520AE #8C20AE #AE2089
triadic
#8C20AE #AE8C20 #20AE8C
tetradic
#8C20AE #AE4520 #42AE20 #2089AE
square
#8C20AE #AE4520 #42AE20 #2089AE
split-complementary
#8C20AE #89AE20 #20AE45
monochromatic
#390D47 #62167A #8C20AE #B132D9 #C566E3

Accessibility & contrast

On white

7.16
#8C20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8C20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C20AE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C20AE#FFFFFF#000000##FFFFFF
##8C20AE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#1D5AAB
Tritanopia (blue-blind)
#8A4369
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8c20ae;
/* rgb */ color: rgb(140, 32, 174);
/* oklch */ color: oklch(48.7% 0.214 316.1);
Tailwind
colors: {
  custom: {
    50: '#b26ac7',
    500: '#8c20ae',
    950: '#000000',
  },
}
SCSS
$custom: #8c20ae;
$custom-light: #b26ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c20ae",
  "rgb": {
    "r": 140,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 285.634,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.21386,
    "h": 316.1
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#8C20AE
secondary
#7AC862
accent
#EC3C66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8C20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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