#8A36AF#8A36AF

#8A36AF is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.191 H 313.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8A36AF
RGBrgb(138, 54, 175)
HSLhsl(282, 53%, 45%)
HSVhsv(282, 69%, 69%)
CMYKcmyk(21.1%, 69.1%, 0%, 31.4%)
CIE-LABlab(39.81, 54.52, -48.98)
CIE-LCHlch(39.81, 73.29, 318.06°)
OKLaboklab(50.51% 0.1313 -0.138)
OKLCHoklch(50.51% 0.191 313.6)
XYZxyz(19.5369, 11.1374, 41.6697)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A36AF #5BAF36
analogous
#4E36AF #8A36AF #AF3697
triadic
#8A36AF #AF8A36 #36AF8A
tetradic
#8A36AF #AF4E36 #5BAF36 #3697AF
square
#8A36AF #AF4E36 #5BAF36 #3697AF
split-complementary
#8A36AF #97AF36 #36AF4E
monochromatic
#401951 #652880 #8A36AF #A857CB #C086DA

Accessibility & contrast

On white

6.51
#8A36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A36AF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A36AF#FFFFFF#000000##FFFFFF
##8A36AF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#2E60AC
Tritanopia (blue-blind)
#864F6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a36af;
/* rgb */ color: rgb(138, 54, 175);
/* oklch */ color: oklch(50.5% 0.191 313.6);
Tailwind
colors: {
  custom: {
    50: '#b074c7',
    500: '#8a36af',
    950: '#000000',
  },
}
SCSS
$custom: #8a36af;
$custom-light: #b074c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a36af",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 281.653,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.1905,
    "h": 313.6
  },
  "luminance": 0.11137
}

Semantic roles & 50–950 ramp

primary
#8A36AF
secondary
#93C37D
accent
#DC4C78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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