#8D36C7#8D36C7

#8D36C7 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.215 H 307.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8D36C7
RGBrgb(141, 54, 199)
HSLhsl(276, 57%, 50%)
HSVhsv(276, 73%, 78%)
CMYKcmyk(29.1%, 72.9%, 0%, 22%)
CIE-LABlab(41.88, 60.31, -59.70)
CIE-LCHlch(41.88, 84.86, 315.29°)
OKLaboklab(52.59% 0.1321 -0.1694)
OKLCHoklch(52.59% 0.215 307.9)
XYZxyz(22.6103, 12.4249, 55.2289)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36C7 #70C736
analogous
#4536C7 #8D36C7 #C736B9
triadic
#8D36C7 #C78D36 #36C78D
tetradic
#8D36C7 #C74536 #70C736 #36B9C7
square
#8D36C7 #C74536 #70C736 #36B9C7
split-complementary
#8D36C7 #B9C736 #36C745
monochromatic
#491C67 #6B2997 #8D36C7 #A865D5 #C395E2

Accessibility & contrast

On white

6.03
#8D36C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8D36C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36C7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36C7#FFFFFF#000000##FFFFFF
##8D36C71.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#84587C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d36c7;
/* rgb */ color: rgb(141, 54, 199);
/* oklch */ color: oklch(52.6% 0.215 307.9);
Tailwind
colors: {
  custom: {
    50: '#b375d9',
    500: '#8d36c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d36c7;
$custom-light: #b375d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36c7",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 276,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52592,
    "c": 0.21484,
    "h": 307.9
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#8D36C7
secondary
#A6CE8B
accent
#E14785
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D36C7

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

Preview Lab → · Contrast checker → · Palette generator →

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