#8E36BB#8E36BB

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

Color values

HEX#8E36BB
RGBrgb(142, 54, 187)
HSLhsl(280, 55%, 47%)
HSVhsv(280, 71%, 73%)
CMYKcmyk(24.1%, 71.1%, 0%, 26.7%)
CIE-LABlab(41.18, 57.91, -53.82)
CIE-LCHlch(41.18, 79.06, 317.10°)
OKLaboklab(51.86% 0.1352 -0.1521)
OKLCHoklch(51.86% 0.204 311.6)
XYZxyz(21.4425, 11.9775, 48.1864)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36BB #63BB36
analogous
#4B36BB #8E36BB #BB36A6
triadic
#8E36BB #BB8E36 #36BB8E
tetradic
#8E36BB #BB4B36 #63BB36 #36A6BB
square
#8E36BB #BB4B36 #63BB36 #36A6BB
split-complementary
#8E36BB #A6BB36 #36BB4B
monochromatic
#461B5C #6A288C #8E36BB #AA5ED0 #C38DDE

Accessibility & contrast

On white

6.18
#8E36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E36BB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36BB#FFFFFF#000000##FFFFFF
##8E36BB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#2463B8
Tritanopia (blue-blind)
#885375
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e36bb;
/* rgb */ color: rgb(142, 54, 187);
/* oklch */ color: oklch(51.9% 0.204 311.6);
Tailwind
colors: {
  custom: {
    50: '#b375d0',
    500: '#8e36bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e36bb;
$custom-light: #b375d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36bb",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 279.699,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.20351,
    "h": 311.6
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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