#8D36C2#8D36C2

#8D36C2 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.210 H 309.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8D36C2
RGBrgb(141, 54, 194)
HSLhsl(277, 56%, 49%)
HSVhsv(277, 72%, 76%)
CMYKcmyk(27.3%, 72.2%, 0%, 23.9%)
CIE-LABlab(41.53, 59.22, -57.37)
CIE-LCHlch(41.53, 82.45, 315.91°)
OKLaboklab(52.23% 0.1329 -0.1626)
OKLCHoklch(52.23% 0.21 309.3)
XYZxyz(22.0393, 12.1965, 52.2216)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D36C2 #6BC236
analogous
#4736C2 #8D36C2 #C236B1
triadic
#8D36C2 #C28D36 #36C28D
tetradic
#8D36C2 #C24736 #6BC236 #36B1C2
square
#8D36C2 #C24736 #6BC236 #36B1C2
split-complementary
#8D36C2 #B1C236 #36C247
monochromatic
#471B62 #6A2992 #8D36C2 #A862D3 #C392E1

Accessibility & contrast

On white

6.11
#8D36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8D36C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D36C2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D36C2#FFFFFF#000000##FFFFFF
##8D36C21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#1363BF
Tritanopia (blue-blind)
#855679
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d36c2;
/* rgb */ color: rgb(141, 54, 194);
/* oklch */ color: oklch(52.2% 0.210 309.3);
Tailwind
colors: {
  custom: {
    50: '#b375d5',
    500: '#8d36c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d36c2;
$custom-light: #b375d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d36c2",
  "rgb": {
    "r": 141,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 277.286,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.20998,
    "h": 309.3
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#8D36C2
secondary
#A2CC88
accent
#E04881
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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