#8E37AF#8E37AF

#8E37AF is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.191 H 315.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8E37AF
RGBrgb(142, 55, 175)
HSLhsl(284, 52%, 45%)
HSVhsv(284, 69%, 69%)
CMYKcmyk(18.9%, 68.6%, 0%, 31.4%)
CIE-LABlab(40.54, 54.97, -47.78)
CIE-LCHlch(40.54, 72.83, 319.00°)
OKLaboklab(51.15% 0.1353 -0.1344)
OKLCHoklch(51.15% 0.191 315.2)
XYZxyz(20.2581, 11.5790, 41.7170)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E37AF #58AF37
analogous
#5237AF #8E37AF #AF3794
triadic
#8E37AF #AF8E37 #37AF8E
tetradic
#8E37AF #AF5237 #58AF37 #3794AF
square
#8E37AF #AF5237 #58AF37 #3794AF
split-complementary
#8E37AF #94AF37 #37AF52
monochromatic
#421A52 #682880 #8E37AF #AB59CB #C387D9

Accessibility & contrast

On white

6.33
#8E37AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8E37AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E37AF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E37AF#FFFFFF#000000##FFFFFF
##8E37AF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#8B4F6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e37af;
/* rgb */ color: rgb(142, 55, 175);
/* oklch */ color: oklch(51.1% 0.191 315.2);
Tailwind
colors: {
  custom: {
    50: '#b375c7',
    500: '#8e37af',
    950: '#000000',
  },
}
SCSS
$custom: #8e37af;
$custom-light: #b375c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e37af",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 283.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51145,
    "c": 0.1907,
    "h": 315.2
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#8E37AF
secondary
#91C37F
accent
#DC4C74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8E37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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