#8F36AA#8F36AA

#8F36AA is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.188 H 317.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8F36AA
RGBrgb(143, 54, 170)
HSLhsl(286, 52%, 44%)
HSVhsv(286, 68%, 67%)
CMYKcmyk(15.9%, 68.2%, 0%, 33.3%)
CIE-LABlab(40.22, 54.60, -45.32)
CIE-LCHlch(40.22, 70.96, 320.31°)
OKLaboklab(50.84% 0.138 -0.1272)
OKLCHoklch(50.84% 0.188 317.3)
XYZxyz(19.9015, 11.3811, 39.1709)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36AA #51AA36
analogous
#5536AA #8F36AA #AA368B
triadic
#8F36AA #AA8F36 #36AA8F
tetradic
#8F36AA #AA5536 #51AA36 #368BAA
square
#8F36AA #AA5536 #51AA36 #368BAA
split-complementary
#8F36AA #8BAA36 #36AA55
monochromatic
#41184D #68277C #8F36AA #AE54C9 #C483D8

Accessibility & contrast

On white

6.41
#8F36AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F36AA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36AA#FFFFFF#000000##FFFFFF
##8F36AA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#3961A7
Tritanopia (blue-blind)
#8E4C6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f36aa;
/* rgb */ color: rgb(143, 54, 170);
/* oklch */ color: oklch(50.8% 0.188 317.3);
Tailwind
colors: {
  custom: {
    50: '#b374c4',
    500: '#8f36aa',
    950: '#000000',
  },
}
SCSS
$custom: #8f36aa;
$custom-light: #b374c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36aa",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 286.034,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50842,
    "c": 0.18762,
    "h": 317.3
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#8F36AA
secondary
#8BC17B
accent
#DB4D6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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