#8E4EAE#8E4EAE

#8E4EAE is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.1% C 0.156 H 313.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8E4EAE
RGBrgb(142, 78, 174)
HSLhsl(280, 38%, 49%)
HSVhsv(280, 55%, 68%)
CMYKcmyk(18.4%, 55.2%, 0%, 31.8%)
CIE-LABlab(44.60, 43.54, -40.71)
CIE-LCHlch(44.60, 59.61, 316.93°)
OKLaboklab(54.07% 0.1066 -0.1139)
OKLCHoklch(54.07% 0.156 313.1)
XYZxyz(21.5184, 14.2561, 41.6543)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4EAE #6EAE4E
analogous
#5E4EAE #8E4EAE #AE4E9E
triadic
#8E4EAE #AE8E4E #4EAE8E
tetradic
#8E4EAE #AE5E4E #6EAE4E #4E9EAE
square
#8E4EAE #AE5E4E #6EAE4E #4E9EAE
split-complementary
#8E4EAE #9EAE4E #4EAE5E
monochromatic
#492859 #6C3B84 #8E4EAE #A977C2 #C4A1D5

Accessibility & contrast

On white

5.45
#8E4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8E4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4EAE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4EAE#FFFFFF#000000##FFFFFF
##8E4EAE1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#8B5E76
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e4eae;
/* rgb */ color: rgb(142, 78, 174);
/* oklch */ color: oklch(54.1% 0.156 313.1);
Tailwind
colors: {
  custom: {
    50: '#b182c6',
    500: '#8e4eae',
    950: '#000000',
  },
}
SCSS
$custom: #8e4eae;
$custom-light: #b182c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4eae",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 280,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54073,
    "c": 0.156,
    "h": 313.1
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#8E4EAE
secondary
#A5C296
accent
#CE5A81
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8E4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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