#8E36C4#8E36C4

#8E36C4 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.212 H 309.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8E36C4
RGBrgb(142, 54, 196)
HSLhsl(277, 57%, 49%)
HSVhsv(277, 72%, 77%)
CMYKcmyk(27.6%, 72.4%, 0%, 23.1%)
CIE-LABlab(41.81, 59.85, -58.08)
CIE-LCHlch(41.81, 83.39, 315.86°)
OKLaboklab(52.5% 0.1339 -0.1646)
OKLCHoklch(52.5% 0.212 309.1)
XYZxyz(22.4363, 12.3751, 53.4205)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36C4 #6CC436
analogous
#4736C4 #8E36C4 #C436B3
triadic
#8E36C4 #C48E36 #36C48E
tetradic
#8E36C4 #C44736 #6CC436 #36B3C4
square
#8E36C4 #C44736 #6CC436 #36B3C4
split-complementary
#8E36C4 #B3C436 #36C447
monochromatic
#481C64 #6B2994 #8E36C4 #A963D4 #C493E1

Accessibility & contrast

On white

6.04
#8E36C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8E36C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36C4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36C4#FFFFFF#000000##FFFFFF
##8E36C41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#1064C1
Tritanopia (blue-blind)
#86577A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e36c4;
/* rgb */ color: rgb(142, 54, 196);
/* oklch */ color: oklch(52.5% 0.212 309.1);
Tailwind
colors: {
  custom: {
    50: '#b475d7',
    500: '#8e36c4',
    950: '#000000',
  },
}
SCSS
$custom: #8e36c4;
$custom-light: #b475d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36c4",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 277.183,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.21221,
    "h": 309.1
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E36C4

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

Preview Lab → · Contrast checker → · Palette generator →

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