#8D36B7#8D36B7

#8D36B7 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.199 H 312.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8D36B7
RGBrgb(141, 54, 183)
HSLhsl(280, 54%, 46%)
HSVhsv(280, 70%, 72%)
CMYKcmyk(23%, 70.5%, 0%, 28.2%)
CIE-LABlab(40.77, 56.86, -52.14)
CIE-LCHlch(40.77, 77.15, 317.47°)
OKLaboklab(51.45% 0.1344 -0.1472)
OKLCHoklch(51.45% 0.199 312.4)
XYZxyz(20.8494, 11.7205, 45.9546)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36B7 #60B736
analogous
#4D36B7 #8D36B7 #B736A1
triadic
#8D36B7 #B78D36 #36B78D
tetradic
#8D36B7 #B74D36 #60B736 #36A1B7
square
#8D36B7 #B74D36 #60B736 #36A1B7
split-complementary
#8D36B7 #A1B736 #36B74D
monochromatic
#441A58 #692888 #8D36B7 #A95BCF #C28BDD

Accessibility & contrast

On white

6.28
#8D36B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8D36B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36B7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36B7#FFFFFF#000000##FFFFFF
##8D36B71.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#2862B4
Tritanopia (blue-blind)
#885273
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d36b7;
/* rgb */ color: rgb(141, 54, 183);
/* oklch */ color: oklch(51.4% 0.199 312.4);
Tailwind
colors: {
  custom: {
    50: '#b274cd',
    500: '#8d36b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d36b7;
$custom-light: #b274cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36b7",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 280.465,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51447,
    "c": 0.19932,
    "h": 312.4
  },
  "luminance": 0.1172
}

Semantic roles & 50–950 ramp

primary
#8D36B7
secondary
#98C782
accent
#DE4A7A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D36B7

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

Preview Lab → · Contrast checker → · Palette generator →

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