#8A36A9#8A36A9

#8A36A9 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.185 H 315.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A36A9
RGBrgb(138, 54, 169)
HSLhsl(284, 52%, 44%)
HSVhsv(284, 68%, 66%)
CMYKcmyk(18.3%, 68%, 0%, 33.7%)
CIE-LABlab(39.42, 53.26, -46.03)
CIE-LCHlch(39.42, 70.40, 319.16°)
OKLaboklab(50.1% 0.1317 -0.1294)
OKLCHoklch(50.1% 0.185 315.5)
XYZxyz(18.9607, 10.9069, 38.6349)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A36A9 #55A936
analogous
#5036A9 #8A36A9 #A9368E
triadic
#8A36A9 #A98A36 #36A98A
tetradic
#8A36A9 #A95036 #55A936 #368EA9
square
#8A36A9 #A95036 #55A936 #368EA9
split-complementary
#8A36A9 #8EA936 #36A950
monochromatic
#3E184C #64277B #8A36A9 #A954C8 #C082D7

Accessibility & contrast

On white

6.60
#8A36A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8A36A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A36A9
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A36A9#FFFFFF#000000##FFFFFF
##8A36A91.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#345FA6
Tritanopia (blue-blind)
#884C6B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a36a9;
/* rgb */ color: rgb(138, 54, 169);
/* oklch */ color: oklch(50.1% 0.185 315.5);
Tailwind
colors: {
  custom: {
    50: '#b074c3',
    500: '#8a36a9',
    950: '#000000',
  },
}
SCSS
$custom: #8a36a9;
$custom-light: #b074c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a36a9",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 283.826,
    "s": 51.57,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.18465,
    "h": 315.5
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#8A36A9
secondary
#8DC17A
accent
#DB4D73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8A36A9

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

Preview Lab → · Contrast checker → · Palette generator →

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