#8E38AE#8E38AE

#8E38AE is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.188 H 315.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8E38AE
RGBrgb(142, 56, 174)
HSLhsl(284, 51%, 45%)
HSVhsv(284, 68%, 68%)
CMYKcmyk(18.4%, 67.8%, 0%, 31.8%)
CIE-LABlab(40.63, 54.32, -47.04)
CIE-LCHlch(40.63, 71.86, 319.11°)
OKLaboklab(51.19% 0.1342 -0.1322)
OKLCHoklch(51.19% 0.188 315.4)
XYZxyz(20.2083, 11.6358, 41.2176)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E38AE #58AE38
analogous
#5338AE #8E38AE #AE3893
triadic
#8E38AE #AE8E38 #38AE8E
tetradic
#8E38AE #AE5338 #58AE38 #3893AE
square
#8E38AE #AE5338 #58AE38 #3893AE
split-complementary
#8E38AE #93AE38 #38AE53
monochromatic
#421A51 #682980 #8E38AE #AB59CA #C388D9

Accessibility & contrast

On white

6.31
#8E38AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8E38AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E38AE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E38AE#FFFFFF#000000##FFFFFF
##8E38AE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#3662AB
Tritanopia (blue-blind)
#8C4F6E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e38ae;
/* rgb */ color: rgb(142, 56, 174);
/* oklch */ color: oklch(51.2% 0.188 315.4);
Tailwind
colors: {
  custom: {
    50: '#b375c7',
    500: '#8e38ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e38ae;
$custom-light: #b375c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e38ae",
  "rgb": {
    "r": 142,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 283.729,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.18843,
    "h": 315.4
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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