#8E419A#8E419A

#8E419A is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.1% C 0.156 H 322.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8E419A
RGBrgb(142, 65, 154)
HSLhsl(292, 41%, 43%)
HSVhsv(292, 58%, 60%)
CMYKcmyk(7.8%, 57.8%, 0%, 39.6%)
CIE-LABlab(41.00, 46.03, -34.50)
CIE-LCHlch(41.00, 57.52, 323.15°)
OKLaboklab(51.08% 0.1229 -0.0957)
OKLCHoklch(51.08% 0.156 322.1)
XYZxyz(18.8777, 11.8654, 31.8615)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E419A #4D9A41
analogous
#61419A #8E419A #9A4179
triadic
#8E419A #9A8E41 #419A8E
tetradic
#8E419A #9A6141 #4D9A41 #41799A
square
#8E419A #9A6141 #4D9A41 #41799A
split-complementary
#8E419A #799A41 #419A61
monochromatic
#3F1D44 #662F6F #8E419A #AE5DBB #C488CD

Accessibility & contrast

On white

6.23
#8E419A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8E419A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E419A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E419A#FFFFFF#000000##FFFFFF
##8E419A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9D
Deuteranopia (green-blind)
#4B6498
Tritanopia (blue-blind)
#904E67
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e419a;
/* rgb */ color: rgb(142, 65, 154);
/* oklch */ color: oklch(51.1% 0.156 322.1);
Tailwind
colors: {
  custom: {
    50: '#b17ab8',
    500: '#8e419a',
    950: '#000000',
  },
}
SCSS
$custom: #8e419a;
$custom-light: #b17ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e419a",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 291.91,
    "s": 40.639,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.15576,
    "h": 322.1
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#8E419A
secondary
#87B87F
accent
#D05768
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8E419A

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

Preview Lab → · Contrast checker → · Palette generator →

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