#8A36A3#8A36A3

#8A36A3 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.7% C 0.179 H 317.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8A36A3
RGBrgb(138, 54, 163)
HSLhsl(286, 50%, 43%)
HSVhsv(286, 67%, 64%)
CMYKcmyk(15.3%, 66.9%, 0%, 36.1%)
CIE-LABlab(39.05, 52.02, -43.05)
CIE-LCHlch(39.05, 67.52, 320.39°)
OKLaboklab(49.71% 0.132 -0.1207)
OKLCHoklch(49.71% 0.179 317.6)
XYZxyz(18.4103, 10.6867, 35.7362)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A36A3 #4FA336
analogous
#5436A3 #8A36A3 #A33685
triadic
#8A36A3 #A38A36 #36A38A
tetradic
#8A36A3 #A35436 #4FA336 #3685A3
square
#8A36A3 #A35436 #4FA336 #3685A3
split-complementary
#8A36A3 #85A336 #36A354
monochromatic
#3C1847 #632775 #8A36A3 #AB51C5 #C17FD5

Accessibility & contrast

On white

6.69
#8A36A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8A36A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A36A3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A36A3#FFFFFF#000000##FFFFFF
##8A36A31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0857A6
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#894A68
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a36a3;
/* rgb */ color: rgb(138, 54, 163);
/* oklch */ color: oklch(49.7% 0.179 317.6);
Tailwind
colors: {
  custom: {
    50: '#af73bf',
    500: '#8a36a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a36a3;
$custom-light: #af73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a36a3",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 163
  },
  "hsl": {
    "h": 286.239,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49713,
    "c": 0.17884,
    "h": 317.6
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#8A36A3
secondary
#87BE77
accent
#DA4E6E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A36A3

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

Preview Lab → · Contrast checker → · Palette generator →

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