#8E36C3#8E36C3

#8E36C3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.211 H 309.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8E36C3
RGBrgb(142, 54, 195)
HSLhsl(277, 57%, 49%)
HSVhsv(277, 72%, 76%)
CMYKcmyk(27.2%, 72.3%, 0%, 23.5%)
CIE-LABlab(41.74, 59.63, -57.61)
CIE-LCHlch(41.74, 82.91, 315.99°)
OKLaboklab(52.43% 0.1341 -0.1632)
OKLCHoklch(52.43% 0.211 309.4)
XYZxyz(22.3228, 12.3297, 52.8231)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36C3 #6BC336
analogous
#4836C3 #8E36C3 #C336B2
triadic
#8E36C3 #C38E36 #36C38E
tetradic
#8E36C3 #C34836 #6BC336 #36B2C3
square
#8E36C3 #C34836 #6BC336 #36B2C3
split-complementary
#8E36C3 #B2C336 #36C348
monochromatic
#481B63 #6B2993 #8E36C3 #A963D4 #C392E1

Accessibility & contrast

On white

6.06
#8E36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8E36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36C3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36C3#FFFFFF#000000##FFFFFF
##8E36C31.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#1364C0
Tritanopia (blue-blind)
#865679
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e36c3;
/* rgb */ color: rgb(142, 54, 195);
/* oklch */ color: oklch(52.4% 0.211 309.4);
Tailwind
colors: {
  custom: {
    50: '#b475d6',
    500: '#8e36c3',
    950: '#000000',
  },
}
SCSS
$custom: #8e36c3;
$custom-light: #b475d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36c3",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 277.447,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.21123,
    "h": 309.4
  },
  "luminance": 0.12329
}

Semantic roles & 50–950 ramp

primary
#8E36C3
secondary
#A2CC89
accent
#E04881
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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