#8E419E#8E419E

#8E419E is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.3% C 0.160 H 320.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8E419E
RGBrgb(142, 65, 158)
HSLhsl(290, 42%, 44%)
HSVhsv(290, 59%, 62%)
CMYKcmyk(10.1%, 58.9%, 0%, 38%)
CIE-LABlab(41.22, 46.83, -36.56)
CIE-LCHlch(41.22, 59.41, 322.02°)
OKLaboklab(51.31% 0.1232 -0.1017)
OKLCHoklch(51.31% 0.16 320.4)
XYZxyz(19.2164, 12.0009, 33.6453)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E419E #519E41
analogous
#5F419E #8E419E #9E417F
triadic
#8E419E #9E8E41 #419E8E
tetradic
#8E419E #9E5F41 #519E41 #417F9E
square
#8E419E #9E5F41 #519E41 #417F9E
split-complementary
#8E419E #7F9E41 #419E5F
monochromatic
#401D47 #672F73 #8E419E #AD5FBD #C38ACF

Accessibility & contrast

On white

6.18
#8E419E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8E419E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E419E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E419E#FFFFFF#000000##FFFFFF
##8E419E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA1
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#8F4F69
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e419e;
/* rgb */ color: rgb(142, 65, 158);
/* oklch */ color: oklch(51.3% 0.160 320.4);
Tailwind
colors: {
  custom: {
    50: '#b17abb',
    500: '#8e419e',
    950: '#000000',
  },
}
SCSS
$custom: #8e419e;
$custom-light: #b17abb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e419e",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 289.677,
    "s": 41.704,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.15973,
    "h": 320.4
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

primary
#8E419E
secondary
#8BBA81
accent
#D2566B
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8E419E

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

Preview Lab → · Contrast checker → · Palette generator →

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