#8D36C4#8D36C4

#8D36C4 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.212 H 308.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8D36C4
RGBrgb(141, 54, 196)
HSLhsl(277, 57%, 49%)
HSVhsv(277, 72%, 77%)
CMYKcmyk(28.1%, 72.4%, 0%, 23.1%)
CIE-LABlab(41.67, 59.65, -58.30)
CIE-LCHlch(41.67, 83.41, 315.65°)
OKLaboklab(52.37% 0.1326 -0.1653)
OKLCHoklch(52.37% 0.212 308.7)
XYZxyz(22.2654, 12.2870, 53.4125)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36C4 #6DC436
analogous
#4636C4 #8D36C4 #C436B4
triadic
#8D36C4 #C48D36 #36C48D
tetradic
#8D36C4 #C44636 #6DC436 #36B4C4
square
#8D36C4 #C44636 #6DC436 #36B4C4
split-complementary
#8D36C4 #B4C436 #36C446
monochromatic
#481C64 #6A2994 #8D36C4 #A863D4 #C393E1

Accessibility & contrast

On white

6.07
#8D36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8D36C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36C4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36C4#FFFFFF#000000##FFFFFF
##8D36C41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0C63C1
Tritanopia (blue-blind)
#85577A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d36c4;
/* rgb */ color: rgb(141, 54, 196);
/* oklch */ color: oklch(52.4% 0.212 308.7);
Tailwind
colors: {
  custom: {
    50: '#b375d7',
    500: '#8d36c4',
    950: '#000000',
  },
}
SCSS
$custom: #8d36c4;
$custom-light: #b375d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36c4",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 276.761,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.21192,
    "h": 308.7
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#8D36C4
secondary
#A3CC89
accent
#E04883
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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