#8B36AF#8B36AF

#8B36AF is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.191 H 314.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8B36AF
RGBrgb(139, 54, 175)
HSLhsl(282, 53%, 45%)
HSVhsv(282, 69%, 69%)
CMYKcmyk(20.6%, 69.1%, 0%, 31.4%)
CIE-LABlab(39.95, 54.74, -48.74)
CIE-LCHlch(39.95, 73.29, 318.32°)
OKLaboklab(50.64% 0.1326 -0.1373)
OKLCHoklch(50.64% 0.191 314)
XYZxyz(19.7032, 11.2231, 41.6775)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B36AF #5AAF36
analogous
#4F36AF #8B36AF #AF3696
triadic
#8B36AF #AF8B36 #36AF8B
tetradic
#8B36AF #AF4F36 #5AAF36 #3696AF
square
#8B36AF #AF4F36 #5AAF36 #3696AF
split-complementary
#8B36AF #96AF36 #36AF4F
monochromatic
#411951 #662880 #8B36AF #A957CB #C186DA

Accessibility & contrast

On white

6.47
#8B36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8B36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B36AF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B36AF#FFFFFF#000000##FFFFFF
##8B36AF1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#884F6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b36af;
/* rgb */ color: rgb(139, 54, 175);
/* oklch */ color: oklch(50.6% 0.191 314.0);
Tailwind
colors: {
  custom: {
    50: '#b174c7',
    500: '#8b36af',
    950: '#000000',
  },
}
SCSS
$custom: #8b36af;
$custom-light: #b174c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b36af",
  "rgb": {
    "r": 139,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 282.149,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.19086,
    "h": 314
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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