#8E37AE#8E37AE

#8E37AE is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.190 H 315.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8E37AE
RGBrgb(142, 55, 174)
HSLhsl(284, 52%, 45%)
HSVhsv(284, 68%, 68%)
CMYKcmyk(18.4%, 68.4%, 0%, 31.8%)
CIE-LABlab(40.48, 54.76, -47.29)
CIE-LCHlch(40.48, 72.35, 319.19°)
OKLaboklab(51.08% 0.1354 -0.133)
OKLCHoklch(51.08% 0.19 315.5)
XYZxyz(20.1603, 11.5399, 41.2016)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37AE #57AE37
analogous
#5337AE #8E37AE #AE3792
triadic
#8E37AE #AE8E37 #37AE8E
tetradic
#8E37AE #AE5337 #57AE37 #3792AE
square
#8E37AE #AE5337 #57AE37 #3792AE
split-complementary
#8E37AE #92AE37 #37AE53
monochromatic
#421A51 #68287F #8E37AE #AB58CA #C386D9

Accessibility & contrast

On white

6.35
#8E37AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8E37AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E37AE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E37AE#FFFFFF#000000##FFFFFF
##8E37AE1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#3562AB
Tritanopia (blue-blind)
#8C4E6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e37ae;
/* rgb */ color: rgb(142, 55, 174);
/* oklch */ color: oklch(51.1% 0.190 315.5);
Tailwind
colors: {
  custom: {
    50: '#b375c7',
    500: '#8e37ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e37ae;
$custom-light: #b375c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37ae",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 283.866,
    "s": 51.965,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.18974,
    "h": 315.5
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#8E37AE
secondary
#90C37E
accent
#DB4C73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8E37AE

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

Preview Lab → · Contrast checker → · Palette generator →

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