#8E41AE#8E41AE

#8E41AE is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.3% C 0.176 H 314.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8E41AE
RGBrgb(142, 65, 174)
HSLhsl(282, 46%, 47%)
HSVhsv(282, 63%, 68%)
CMYKcmyk(18.4%, 62.6%, 0%, 31.8%)
CIE-LABlab(42.14, 50.16, -44.63)
CIE-LCHlch(42.14, 67.14, 318.34°)
OKLaboklab(52.28% 0.1236 -0.1252)
OKLCHoklch(52.28% 0.176 314.6)
XYZxyz(20.6844, 12.5880, 41.3763)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41AE #61AE41
analogous
#5741AE #8E41AE #AE4198
triadic
#8E41AE #AE8E41 #41AE8E
tetradic
#8E41AE #AE5741 #61AE41 #4198AE
square
#8E41AE #AE5741 #61AE41 #4198AE
split-complementary
#8E41AE #98AE41 #41AE57
monochromatic
#452055 #6A3081 #8E41AE #AA66C6 #C393D7

Accessibility & contrast

On white

5.97
#8E41AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8E41AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41AE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41AE#FFFFFF#000000##FFFFFF
##8E41AE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5FB1
Deuteranopia (green-blind)
#3E65AB
Tritanopia (blue-blind)
#8B5571
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e41ae;
/* rgb */ color: rgb(142, 65, 174);
/* oklch */ color: oklch(52.3% 0.176 314.6);
Tailwind
colors: {
  custom: {
    50: '#b27ac7',
    500: '#8e41ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e41ae;
$custom-light: #b27ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41ae",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 282.385,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.17596,
    "h": 314.6
  },
  "luminance": 0.12587
}

Semantic roles & 50–950 ramp

primary
#8E41AE
secondary
#9AC289
accent
#D55379
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8E41AE

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

Preview Lab → · Contrast checker → · Palette generator →

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