#8A36AE#8A36AE

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

Color values

HEX#8A36AE
RGBrgb(138, 54, 174)
HSLhsl(282, 53%, 45%)
HSVhsv(282, 69%, 68%)
CMYKcmyk(20.7%, 69%, 0%, 31.8%)
CIE-LABlab(39.75, 54.31, -48.49)
CIE-LCHlch(39.75, 72.81, 318.24°)
OKLaboklab(50.44% 0.1314 -0.1366)
OKLCHoklch(50.44% 0.19 313.9)
XYZxyz(19.4391, 11.0982, 41.1544)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A36AE #5AAE36
analogous
#4E36AE #8A36AE #AE3696
triadic
#8A36AE #AE8A36 #36AE8A
tetradic
#8A36AE #AE4E36 #5AAE36 #3696AE
square
#8A36AE #AE4E36 #5AAE36 #3696AE
split-complementary
#8A36AE #96AE36 #36AE4E
monochromatic
#401951 #65287F #8A36AE #A856CB #C085D9

Accessibility & contrast

On white

6.52
#8A36AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A36AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A36AE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A36AE#FFFFFF#000000##FFFFFF
##8A36AE1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#2F60AB
Tritanopia (blue-blind)
#874E6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a36ae;
/* rgb */ color: rgb(138, 54, 174);
/* oklch */ color: oklch(50.4% 0.190 313.9);
Tailwind
colors: {
  custom: {
    50: '#b074c7',
    500: '#8a36ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a36ae;
$custom-light: #b074c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a36ae",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 282,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50437,
    "c": 0.18952,
    "h": 313.9
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#8A36AE
secondary
#92C37D
accent
#DC4C77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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