#8D36C8#8D36C8

#8D36C8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.216 H 307.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8D36C8
RGBrgb(141, 54, 200)
HSLhsl(276, 57%, 50%)
HSVhsv(276, 73%, 78%)
CMYKcmyk(29.5%, 73%, 0%, 21.6%)
CIE-LABlab(41.96, 60.53, -60.17)
CIE-LCHlch(41.96, 85.34, 315.17°)
OKLaboklab(52.67% 0.1319 -0.1708)
OKLCHoklch(52.67% 0.216 307.7)
XYZxyz(22.7268, 12.4715, 55.8424)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36C8 #71C836
analogous
#4436C8 #8D36C8 #C836BA
triadic
#8D36C8 #C88D36 #36C88D
tetradic
#8D36C8 #C84436 #71C836 #36BAC8
square
#8D36C8 #C84436 #71C836 #36BAC8
split-complementary
#8D36C8 #BAC836 #36C844
monochromatic
#491C68 #6B2998 #8D36C8 #A866D6 #C496E3

Accessibility & contrast

On white

6.01
#8D36C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D36C8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36C8#FFFFFF#000000##FFFFFF
##8D36C81.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#83587C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d36c8;
/* rgb */ color: rgb(141, 54, 200);
/* oklch */ color: oklch(52.7% 0.216 307.7);
Tailwind
colors: {
  custom: {
    50: '#b375da',
    500: '#8d36c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d36c8;
$custom-light: #b375da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36c8",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 275.753,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.21581,
    "h": 307.7
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D36C8

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

Preview Lab → · Contrast checker → · Palette generator →

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