#8D36C0#8D36C0

#8D36C0 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.208 H 309.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8D36C0
RGBrgb(141, 54, 192)
HSLhsl(278, 56%, 48%)
HSVhsv(278, 72%, 75%)
CMYKcmyk(26.6%, 71.9%, 0%, 24.7%)
CIE-LABlab(41.39, 58.78, -56.43)
CIE-LCHlch(41.39, 81.48, 316.17°)
OKLaboklab(52.08% 0.1332 -0.1598)
OKLCHoklch(52.08% 0.208 309.8)
XYZxyz(21.8162, 12.1073, 51.0466)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36C0 #69C036
analogous
#4836C0 #8D36C0 #C036AE
triadic
#8D36C0 #C08D36 #36C08D
tetradic
#8D36C0 #C04836 #69C036 #36AEC0
square
#8D36C0 #C04836 #69C036 #36AEC0
split-complementary
#8D36C0 #AEC036 #36C048
monochromatic
#471B60 #6A2990 #8D36C0 #A861D2 #C390E0

Accessibility & contrast

On white

6.14
#8D36C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8D36C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36C0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36C0#FFFFFF#000000##FFFFFF
##8D36C01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#1863BD
Tritanopia (blue-blind)
#865578
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d36c0;
/* rgb */ color: rgb(141, 54, 192);
/* oklch */ color: oklch(52.1% 0.208 309.8);
Tailwind
colors: {
  custom: {
    50: '#b375d4',
    500: '#8d36c0',
    950: '#000000',
  },
}
SCSS
$custom: #8d36c0;
$custom-light: #b375d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36c0",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 277.826,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.20804,
    "h": 309.8
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#8D36C0
secondary
#A0CB87
accent
#DF4880
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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