#8F36AF#8F36AF

#8F36AF is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.192 H 315.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8F36AF
RGBrgb(143, 54, 175)
HSLhsl(284, 53%, 45%)
HSVhsv(284, 69%, 69%)
CMYKcmyk(18.3%, 69.1%, 0%, 31.4%)
CIE-LABlab(40.53, 55.62, -47.78)
CIE-LCHlch(40.53, 73.33, 319.33°)
OKLaboklab(51.17% 0.1377 -0.1344)
OKLCHoklch(51.17% 0.192 315.7)
XYZxyz(20.3835, 11.5739, 41.7094)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36AF #56AF36
analogous
#5236AF #8F36AF #AF3693
triadic
#8F36AF #AF8F36 #36AF8F
tetradic
#8F36AF #AF5236 #56AF36 #3693AF
square
#8F36AF #AF5236 #56AF36 #3693AF
split-complementary
#8F36AF #93AF36 #36AF52
monochromatic
#431951 #692880 #8F36AF #AC57CB #C386DA

Accessibility & contrast

On white

6.34
#8F36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8F36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36AF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36AF#FFFFFF#000000##FFFFFF
##8F36AF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#8D4E6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f36af;
/* rgb */ color: rgb(143, 54, 175);
/* oklch */ color: oklch(51.2% 0.192 315.7);
Tailwind
colors: {
  custom: {
    50: '#b374c7',
    500: '#8f36af',
    950: '#000000',
  },
}
SCSS
$custom: #8f36af;
$custom-light: #b374c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36af",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 284.132,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51169,
    "c": 0.19237,
    "h": 315.7
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#8F36AF
secondary
#90C37D
accent
#DC4C72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8F36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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