#8F36A2#8F36A2

#8F36A2 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.3% C 0.180 H 320.1°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8F36A2
RGBrgb(143, 54, 162)
HSLhsl(289, 50%, 42%)
HSVhsv(289, 67%, 64%)
CMYKcmyk(11.7%, 66.7%, 0%, 36.5%)
CIE-LABlab(39.73, 53.01, -41.32)
CIE-LCHlch(39.73, 67.21, 322.06°)
OKLaboklab(50.33% 0.1382 -0.1155)
OKLCHoklch(50.33% 0.18 320.1)
XYZxyz(19.1676, 11.0875, 35.3059)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36A2 #49A236
analogous
#5936A2 #8F36A2 #A2367F
triadic
#8F36A2 #A28F36 #36A28F
tetradic
#8F36A2 #A25936 #49A236 #367FA2
square
#8F36A2 #A25936 #49A236 #367FA2
split-complementary
#8F36A2 #7FA236 #36A259
monochromatic
#3E1746 #662774 #8F36A2 #B050C5 #C57ED4

Accessibility & contrast

On white

6.53
#8F36A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8F36A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36A2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36A2#FFFFFF#000000##FFFFFF
##8F36A21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#3F619F
Tritanopia (blue-blind)
#904967
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f36a2;
/* rgb */ color: rgb(143, 54, 162);
/* oklch */ color: oklch(50.3% 0.180 320.1);
Tailwind
colors: {
  custom: {
    50: '#b374be',
    500: '#8f36a2',
    950: '#000000',
  },
}
SCSS
$custom: #8f36a2;
$custom-light: #b374be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36a2",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 289.444,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50335,
    "c": 0.1801,
    "h": 320.1
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#8F36A2
secondary
#83BD77
accent
#DA4E67
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F36A2

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

Preview Lab → · Contrast checker → · Palette generator →

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