#8F36AB#8F36AB

#8F36AB is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.189 H 317.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8F36AB
RGBrgb(143, 54, 171)
HSLhsl(286, 52%, 44%)
HSVhsv(286, 68%, 67%)
CMYKcmyk(16.4%, 68.4%, 0%, 32.9%)
CIE-LABlab(40.28, 54.80, -45.82)
CIE-LCHlch(40.28, 71.43, 320.10°)
OKLaboklab(50.91% 0.1379 -0.1286)
OKLCHoklch(50.91% 0.189 317)
XYZxyz(19.9965, 11.4191, 39.6710)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36AB #52AB36
analogous
#5536AB #8F36AB #AB368D
triadic
#8F36AB #AB8F36 #36AB8F
tetradic
#8F36AB #AB5536 #52AB36 #368DAB
square
#8F36AB #AB5536 #52AB36 #368DAB
split-complementary
#8F36AB #8DAB36 #36AB55
monochromatic
#41194E #68277C #8F36AB #AD55C9 #C483D8

Accessibility & contrast

On white

6.40
#8F36AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8F36AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36AB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36AB#FFFFFF#000000##FFFFFF
##8F36AB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#3862A8
Tritanopia (blue-blind)
#8E4C6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f36ab;
/* rgb */ color: rgb(143, 54, 171);
/* oklch */ color: oklch(50.9% 0.189 317.0);
Tailwind
colors: {
  custom: {
    50: '#b374c5',
    500: '#8f36ab',
    950: '#000000',
  },
}
SCSS
$custom: #8f36ab;
$custom-light: #b374c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36ab",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 285.641,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50907,
    "c": 0.18857,
    "h": 317
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#8F36AB
secondary
#8CC27B
accent
#DB4C6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F36AB

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

Preview Lab → · Contrast checker → · Palette generator →

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