#8E36C0#8E36C0

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

Color values

HEX#8E36C0
RGBrgb(142, 54, 192)
HSLhsl(278, 56%, 48%)
HSVhsv(278, 72%, 75%)
CMYKcmyk(26%, 71.9%, 0%, 24.7%)
CIE-LABlab(41.52, 58.98, -56.20)
CIE-LCHlch(41.52, 81.47, 316.39°)
OKLaboklab(52.21% 0.1345 -0.1591)
OKLCHoklch(52.21% 0.208 310.2)
XYZxyz(21.9871, 12.1954, 51.0546)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36C0 #68C036
analogous
#4936C0 #8E36C0 #C036AD
triadic
#8E36C0 #C08E36 #36C08E
tetradic
#8E36C0 #C04936 #68C036 #36ADC0
square
#8E36C0 #C04936 #68C036 #36ADC0
split-complementary
#8E36C0 #ADC036 #36C049
monochromatic
#471B60 #6B2990 #8E36C0 #A961D2 #C390E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E36C0#FFFFFF#000000##FFFFFF
##8E36C01.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)
#005EC4
Deuteranopia (green-blind)
#1B63BD
Tritanopia (blue-blind)
#875578
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e36c0;
/* rgb */ color: rgb(142, 54, 192);
/* oklch */ color: oklch(52.2% 0.208 310.2);
Tailwind
colors: {
  custom: {
    50: '#b475d4',
    500: '#8e36c0',
    950: '#000000',
  },
}
SCSS
$custom: #8e36c0;
$custom-light: #b475d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36c0",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 278.261,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.20834,
    "h": 310.2
  },
  "luminance": 0.12195
}

Semantic roles & 50–950 ramp

primary
#8E36C0
secondary
#A0CB87
accent
#DF487F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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