#8E36CC#8E36CC

#8E36CC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.1% C 0.220 H 307.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8E36CC
RGBrgb(142, 54, 204)
HSLhsl(275, 60%, 51%)
HSVhsv(275, 74%, 80%)
CMYKcmyk(30.4%, 73.5%, 0%, 20%)
CIE-LABlab(42.38, 61.60, -61.79)
CIE-LCHlch(42.38, 87.24, 314.91°)
OKLaboklab(53.09% 0.1325 -0.1755)
OKLCHoklch(53.09% 0.22 307.1)
XYZxyz(23.3712, 12.7490, 58.3446)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36CC #74CC36
analogous
#4336CC #8E36CC #CC36BF
triadic
#8E36CC #CC8E36 #36CC8E
tetradic
#8E36CC #CC4336 #74CC36 #36BFCC
square
#8E36CC #CC4336 #74CC36 #36BFCC
split-complementary
#8E36CC #BFCC36 #36CC43
monochromatic
#4B1B6C #6D289D #8E36CC #A967D8 #C598E5

Accessibility & contrast

On white

5.92
#8E36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8E36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36CC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36CC#FFFFFF#000000##FFFFFF
##8E36CC1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#835A7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e36cc;
/* rgb */ color: rgb(142, 54, 204);
/* oklch */ color: oklch(53.1% 0.220 307.1);
Tailwind
colors: {
  custom: {
    50: '#b475dc',
    500: '#8e36cc',
    950: '#000000',
  },
}
SCSS
$custom: #8e36cc;
$custom-light: #b475dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36cc",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 275.2,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53088,
    "c": 0.21995,
    "h": 307.1
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#8E36CC
secondary
#A9D08E
accent
#E34586
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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