#8A36AC#8A36AC

#8A36AC is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.188 H 314.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8A36AC
RGBrgb(138, 54, 172)
HSLhsl(283, 52%, 44%)
HSVhsv(283, 69%, 67%)
CMYKcmyk(19.8%, 68.6%, 0%, 32.5%)
CIE-LABlab(39.62, 53.89, -47.51)
CIE-LCHlch(39.62, 71.84, 318.60°)
OKLaboklab(50.3% 0.1315 -0.1337)
OKLCHoklch(50.3% 0.188 314.5)
XYZxyz(19.2456, 11.0208, 40.1352)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A36AC #58AC36
analogous
#4F36AC #8A36AC #AC3693
triadic
#8A36AC #AC8A36 #36AC8A
tetradic
#8A36AC #AC4F36 #58AC36 #3693AC
square
#8A36AC #AC4F36 #58AC36 #3693AC
split-complementary
#8A36AC #93AC36 #36AC4F
monochromatic
#3F194F #65277D #8A36AC #A855CA #C084D8

Accessibility & contrast

On white

6.55
#8A36AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A36AC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A36AC#FFFFFF#000000##FFFFFF
##8A36AC1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#315FA9
Tritanopia (blue-blind)
#874E6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a36ac;
/* rgb */ color: rgb(138, 54, 172);
/* oklch */ color: oklch(50.3% 0.188 314.5);
Tailwind
colors: {
  custom: {
    50: '#b074c5',
    500: '#8a36ac',
    950: '#000000',
  },
}
SCSS
$custom: #8a36ac;
$custom-light: #b074c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a36ac",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 282.712,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50303,
    "c": 0.18757,
    "h": 314.5
  },
  "luminance": 0.1102
}

Semantic roles & 50–950 ramp

primary
#8A36AC
secondary
#90C27C
accent
#DC4C75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A36AC

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

Preview Lab → · Contrast checker → · Palette generator →

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