#8D36B3#8D36B3

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

Color values

HEX#8D36B3
RGBrgb(141, 54, 179)
HSLhsl(282, 54%, 46%)
HSVhsv(282, 70%, 70%)
CMYKcmyk(21.2%, 69.8%, 0%, 29.8%)
CIE-LABlab(40.50, 56.01, -50.21)
CIE-LCHlch(40.50, 75.22, 318.12°)
OKLaboklab(51.17% 0.1348 -0.1416)
OKLCHoklch(51.17% 0.195 313.6)
XYZxyz(20.4390, 11.5564, 43.7930)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36B3 #5CB336
analogous
#4E36B3 #8D36B3 #B3369A
triadic
#8D36B3 #B38D36 #36B38D
tetradic
#8D36B3 #B34E36 #5CB336 #369AB3
square
#8D36B3 #B34E36 #5CB336 #369AB3
split-complementary
#8D36B3 #9AB336 #36B34E
monochromatic
#431A55 #682884 #8D36B3 #AA59CD #C288DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D36B3#FFFFFF#000000##FFFFFF
##8D36B31.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)
#005BB7
Deuteranopia (green-blind)
#2E61B0
Tritanopia (blue-blind)
#895071
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d36b3;
/* rgb */ color: rgb(141, 54, 179);
/* oklch */ color: oklch(51.2% 0.195 313.6);
Tailwind
colors: {
  custom: {
    50: '#b274ca',
    500: '#8d36b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d36b3;
$custom-light: #b274ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36b3",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 179
  },
  "hsl": {
    "h": 281.76,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.19545,
    "h": 313.6
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#8D36B3
secondary
#95C580
accent
#DD4B77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D36B3

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

Preview Lab → · Contrast checker → · Palette generator →

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