#8E36BD#8E36BD

#8E36BD is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.205 H 311.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8E36BD
RGBrgb(142, 54, 189)
HSLhsl(279, 56%, 48%)
HSVhsv(279, 71%, 74%)
CMYKcmyk(24.9%, 71.4%, 0%, 25.9%)
CIE-LABlab(41.32, 58.34, -54.78)
CIE-LCHlch(41.32, 80.02, 316.80°)
OKLaboklab(52% 0.1349 -0.1549)
OKLCHoklch(52% 0.205 311.1)
XYZxyz(21.6581, 12.0638, 49.3219)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36BD #65BD36
analogous
#4A36BD #8E36BD #BD36A9
triadic
#8E36BD #BD8E36 #36BD8E
tetradic
#8E36BD #BD4A36 #65BD36 #36A9BD
square
#8E36BD #BD4A36 #65BD36 #36A9BD
split-complementary
#8E36BD #A9BD36 #36BD4A
monochromatic
#461B5E #6A288D #8E36BD #A95FD1 #C38FDF

Accessibility & contrast

On white

6.15
#8E36BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8E36BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36BD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36BD#FFFFFF#000000##FFFFFF
##8E36BD1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#2163BA
Tritanopia (blue-blind)
#885476
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e36bd;
/* rgb */ color: rgb(142, 54, 189);
/* oklch */ color: oklch(52.0% 0.205 311.1);
Tailwind
colors: {
  custom: {
    50: '#b375d2',
    500: '#8e36bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e36bd;
$custom-light: #b375d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36bd",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 279.111,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.20544,
    "h": 311.1
  },
  "luminance": 0.12063
}

Semantic roles & 50–950 ramp

primary
#8E36BD
secondary
#9DC985
accent
#DF497D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8E36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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