#8E36C8#8E36C8

#8E36C8 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.216 H 308.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8E36C8
RGBrgb(142, 54, 200)
HSLhsl(276, 57%, 50%)
HSVhsv(276, 73%, 78%)
CMYKcmyk(29%, 73%, 0%, 21.6%)
CIE-LABlab(42.09, 60.72, -59.94)
CIE-LCHlch(42.09, 85.32, 315.37°)
OKLaboklab(52.79% 0.1333 -0.1701)
OKLCHoklch(52.79% 0.216 308.1)
XYZxyz(22.8977, 12.5596, 55.8504)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36C8 #70C836
analogous
#4536C8 #8E36C8 #C836B9
triadic
#8E36C8 #C88E36 #36C88E
tetradic
#8E36C8 #C84536 #70C836 #36B9C8
square
#8E36C8 #C84536 #70C836 #36B9C8
split-complementary
#8E36C8 #B9C836 #36C845
monochromatic
#4A1C68 #6C2998 #8E36C8 #A966D6 #C496E3

Accessibility & contrast

On white

5.98
#8E36C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8E36C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36C8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36C8#FFFFFF#000000##FFFFFF
##8E36C81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e36c8;
/* rgb */ color: rgb(142, 54, 200);
/* oklch */ color: oklch(52.8% 0.216 308.1);
Tailwind
colors: {
  custom: {
    50: '#b475da',
    500: '#8e36c8',
    950: '#000000',
  },
}
SCSS
$custom: #8e36c8;
$custom-light: #b475da;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36c8",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 276.164,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52791,
    "c": 0.21608,
    "h": 308.1
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#8E36C8
secondary
#A6CE8C
accent
#E14784
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E36C8

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

Preview Lab → · Contrast checker → · Palette generator →

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