#8E4EAA#8E4EAA

#8E4EAA is a mid, vivid purple. Relative luminance 0.141; OKLCH L 53.8% C 0.152 H 314.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8E4EAA
RGBrgb(142, 78, 170)
HSLhsl(282, 37%, 49%)
HSVhsv(282, 54%, 67%)
CMYKcmyk(16.5%, 54.1%, 0%, 33.3%)
CIE-LABlab(44.38, 42.66, -38.70)
CIE-LCHlch(44.38, 57.59, 317.79°)
OKLaboklab(53.84% 0.1063 -0.108)
OKLCHoklch(53.84% 0.152 314.6)
XYZxyz(21.1342, 14.1024, 39.6312)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4EAA #6AAA4E
analogous
#604EAA #8E4EAA #AA4E98
triadic
#8E4EAA #AA8E4E #4EAA8E
tetradic
#8E4EAA #AA604E #6AAA4E #4E98AA
square
#8E4EAA #AA604E #6AAA4E #4E98AA
split-complementary
#8E4EAA #98AA4E #4EAA60
monochromatic
#482856 #6B3B80 #8E4EAA #A975C0 #C39FD3

Accessibility & contrast

On white

5.50
#8E4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8E4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4EAA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4EAA#FFFFFF#000000##FFFFFF
##8E4EAA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#4D6BA8
Tritanopia (blue-blind)
#8C5D74
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e4eaa;
/* rgb */ color: rgb(142, 78, 170);
/* oklch */ color: oklch(53.8% 0.152 314.6);
Tailwind
colors: {
  custom: {
    50: '#b182c4',
    500: '#8e4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #8e4eaa;
$custom-light: #b182c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4eaa",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 281.739,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53842,
    "c": 0.15156,
    "h": 314.6
  },
  "luminance": 0.14102
}

Semantic roles & 50–950 ramp

primary
#8E4EAA
secondary
#A1C094
accent
#CD5B7E
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B12
muted
#807C81

Preview Lab

Preview with #8E4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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