#8D36C3#8D36C3

#8D36C3 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.211 H 309.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D36C3
RGBrgb(141, 54, 195)
HSLhsl(277, 57%, 49%)
HSVhsv(277, 72%, 76%)
CMYKcmyk(27.7%, 72.3%, 0%, 23.5%)
CIE-LABlab(41.60, 59.44, -57.84)
CIE-LCHlch(41.60, 82.93, 315.78°)
OKLaboklab(52.3% 0.1327 -0.164)
OKLCHoklch(52.3% 0.211 309)
XYZxyz(22.1520, 12.2416, 52.8151)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36C3 #6CC336
analogous
#4636C3 #8D36C3 #C336B3
triadic
#8D36C3 #C38D36 #36C38D
tetradic
#8D36C3 #C34636 #6CC336 #36B3C3
square
#8D36C3 #C34636 #6CC336 #36B3C3
split-complementary
#8D36C3 #B3C336 #36C346
monochromatic
#481B63 #6A2993 #8D36C3 #A863D4 #C392E1

Accessibility & contrast

On white

6.09
#8D36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8D36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36C3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36C3#FFFFFF#000000##FFFFFF
##8D36C31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#1063C0
Tritanopia (blue-blind)
#855679
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d36c3;
/* rgb */ color: rgb(141, 54, 195);
/* oklch */ color: oklch(52.3% 0.211 309.0);
Tailwind
colors: {
  custom: {
    50: '#b375d6',
    500: '#8d36c3',
    950: '#000000',
  },
}
SCSS
$custom: #8d36c3;
$custom-light: #b375d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36c3",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 277.021,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.21095,
    "h": 309
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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