#8E36D1#8E36D1

#8E36D1 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.5% C 0.225 H 305.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8E36D1
RGBrgb(142, 54, 209)
HSLhsl(274, 63%, 52%)
HSVhsv(274, 74%, 82%)
CMYKcmyk(32.1%, 74.2%, 0%, 18%)
CIE-LABlab(42.75, 62.70, -64.07)
CIE-LCHlch(42.75, 89.65, 314.38°)
OKLaboklab(53.47% 0.1316 -0.1822)
OKLCHoklch(53.47% 0.225 305.8)
XYZxyz(23.9806, 12.9928, 61.5538)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E36D1 #79D136
analogous
#4136D1 #8E36D1 #D136C6
triadic
#8E36D1 #D18E36 #36D18E
tetradic
#8E36D1 #D14136 #79D136 #36C6D1
square
#8E36D1 #D14136 #79D136 #36C6D1
split-complementary
#8E36D1 #C6D136 #36D141
monochromatic
#4C1A72 #6D26A4 #8E36D1 #AA68DC #C69AE8

Accessibility & contrast

On white

5.84
#8E36D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8E36D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E36D1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E36D1#FFFFFF#000000##FFFFFF
##8E36D11.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#825C81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e36d1;
/* rgb */ color: rgb(142, 54, 209);
/* oklch */ color: oklch(53.5% 0.225 305.8);
Tailwind
colors: {
  custom: {
    50: '#b576e0',
    500: '#8e36d1',
    950: '#000000',
  },
}
SCSS
$custom: #8e36d1;
$custom-light: #b576e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e36d1",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 209
  },
  "hsl": {
    "h": 274.065,
    "s": 62.753,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53465,
    "c": 0.22479,
    "h": 305.8
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#8E36D1
secondary
#ADD38F
accent
#E64289
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E36D1

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

Preview Lab → · Contrast checker → · Palette generator →

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