#8E36D0#8E36D0

#8E36D0 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.4% C 0.224 H 306.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8E36D0
RGBrgb(142, 54, 208)
HSLhsl(274, 62%, 51%)
HSVhsv(274, 74%, 82%)
CMYKcmyk(31.7%, 74%, 0%, 18.4%)
CIE-LABlab(42.68, 62.48, -63.62)
CIE-LCHlch(42.68, 89.17, 314.48°)
OKLaboklab(53.39% 0.1318 -0.1809)
OKLCHoklch(53.39% 0.224 306.1)
XYZxyz(23.8572, 12.9434, 60.9038)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36D0 #78D036
analogous
#4136D0 #8E36D0 #D036C5
triadic
#8E36D0 #D08E36 #36D08E
tetradic
#8E36D0 #D04136 #78D036 #36C5D0
square
#8E36D0 #D04136 #78D036 #36C5D0
split-complementary
#8E36D0 #C5D036 #36D041
monochromatic
#4C1A71 #6D26A3 #8E36D0 #AA68DC #C699E7

Accessibility & contrast

On white

5.85
#8E36D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8E36D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36D0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36D0#FFFFFF#000000##FFFFFF
##8E36D01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#825C81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e36d0;
/* rgb */ color: rgb(142, 54, 208);
/* oklch */ color: oklch(53.4% 0.224 306.1);
Tailwind
colors: {
  custom: {
    50: '#b576df',
    500: '#8e36d0',
    950: '#000000',
  },
}
SCSS
$custom: #8e36d0;
$custom-light: #b576df;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36d0",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 274.286,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.22382,
    "h": 306.1
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#8E36D0
secondary
#ACD38F
accent
#E54388
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E36D0

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

Preview Lab → · Contrast checker → · Palette generator →

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