#8E36BC#8E36BC

#8E36BC is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.204 H 311.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8E36BC
RGBrgb(142, 54, 188)
HSLhsl(279, 55%, 47%)
HSVhsv(279, 71%, 74%)
CMYKcmyk(24.5%, 71.3%, 0%, 26.3%)
CIE-LABlab(41.25, 58.13, -54.30)
CIE-LCHlch(41.25, 79.54, 316.95°)
OKLaboklab(51.93% 0.1351 -0.1535)
OKLCHoklch(51.93% 0.204 311.3)
XYZxyz(21.5499, 12.0205, 48.7522)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36BC #64BC36
analogous
#4B36BC #8E36BC #BC36A7
triadic
#8E36BC #BC8E36 #36BC8E
tetradic
#8E36BC #BC4B36 #64BC36 #36A7BC
square
#8E36BC #BC4B36 #64BC36 #36A7BC
split-complementary
#8E36BC #A7BC36 #36BC4B
monochromatic
#461B5D #6A288C #8E36BC #AA5ED1 #C38EDF

Accessibility & contrast

On white

6.17
#8E36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8E36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36BC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36BC#FFFFFF#000000##FFFFFF
##8E36BC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#885376
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e36bc;
/* rgb */ color: rgb(142, 54, 188);
/* oklch */ color: oklch(51.9% 0.204 311.3);
Tailwind
colors: {
  custom: {
    50: '#b375d1',
    500: '#8e36bc',
    950: '#000000',
  },
}
SCSS
$custom: #8e36bc;
$custom-light: #b375d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36bc",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 279.403,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.20447,
    "h": 311.3
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#8E36BC
secondary
#9CC985
accent
#DF497C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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