#8D36B0#8D36B0

#8D36B0 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.193 H 314.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8D36B0
RGBrgb(141, 54, 176)
HSLhsl(283, 53%, 45%)
HSVhsv(283, 69%, 69%)
CMYKcmyk(19.9%, 69.3%, 0%, 31%)
CIE-LABlab(40.31, 55.38, -48.75)
CIE-LCHlch(40.31, 73.79, 318.64°)
OKLaboklab(50.97% 0.135 -0.1373)
OKLCHoklch(50.97% 0.193 314.5)
XYZxyz(20.1388, 11.4363, 42.2125)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36B0 #59B036
analogous
#5036B0 #8D36B0 #B03696
triadic
#8D36B0 #B08D36 #36B08D
tetradic
#8D36B0 #B05036 #59B036 #3696B0
square
#8D36B0 #B05036 #59B036 #3696B0
split-complementary
#8D36B0 #96B036 #36B050
monochromatic
#421952 #672881 #8D36B0 #AA58CC #C286DA

Accessibility & contrast

On white

6.39
#8D36B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8D36B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36B0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36B0#FFFFFF#000000##FFFFFF
##8D36B01.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#3161AD
Tritanopia (blue-blind)
#8A4F6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d36b0;
/* rgb */ color: rgb(141, 54, 176);
/* oklch */ color: oklch(51.0% 0.193 314.5);
Tailwind
colors: {
  custom: {
    50: '#b274c8',
    500: '#8d36b0',
    950: '#000000',
  },
}
SCSS
$custom: #8d36b0;
$custom-light: #b274c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36b0",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 176
  },
  "hsl": {
    "h": 282.787,
    "s": 53.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50969,
    "c": 0.19256,
    "h": 314.5
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#8D36B0
secondary
#92C47E
accent
#DC4B75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D36B0

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

Preview Lab → · Contrast checker → · Palette generator →

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