#8E4CAE#8E4CAE

#8E4CAE is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.8% C 0.159 H 313.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8E4CAE
RGBrgb(142, 76, 174)
HSLhsl(280, 39%, 49%)
HSVhsv(280, 56%, 68%)
CMYKcmyk(18.4%, 56.3%, 0%, 31.8%)
CIE-LABlab(44.20, 44.60, -41.34)
CIE-LCHlch(44.20, 60.81, 317.17°)
OKLaboklab(53.78% 0.1094 -0.1157)
OKLCHoklch(53.78% 0.159 313.4)
XYZxyz(21.3785, 13.9762, 41.6077)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CAE #6CAE4C
analogous
#5D4CAE #8E4CAE #AE4C9D
triadic
#8E4CAE #AE8E4C #4CAE8E
tetradic
#8E4CAE #AE5D4C #6CAE4C #4C9DAE
square
#8E4CAE #AE5D4C #6CAE4C #4C9DAE
split-complementary
#8E4CAE #9DAE4C #4CAE5D
monochromatic
#482759 #6B3983 #8E4CAE #A975C3 #C49FD5

Accessibility & contrast

On white

5.53
#8E4CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8E4CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CAE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CAE#FFFFFF#000000##FFFFFF
##8E4CAE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#8B5D76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e4cae;
/* rgb */ color: rgb(142, 76, 174);
/* oklch */ color: oklch(53.8% 0.159 313.4);
Tailwind
colors: {
  custom: {
    50: '#b181c6',
    500: '#8e4cae',
    950: '#000000',
  },
}
SCSS
$custom: #8e4cae;
$custom-light: #b181c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4cae",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 280.408,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.1592,
    "h": 313.4
  },
  "luminance": 0.13976
}

Semantic roles & 50–950 ramp

primary
#8E4CAE
secondary
#A3C294
accent
#CF597F
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8E4CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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