#8E41B0#8E41B0

#8E41B0 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.4% C 0.178 H 314.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8E41B0
RGBrgb(142, 65, 176)
HSLhsl(282, 46%, 47%)
HSVhsv(282, 63%, 69%)
CMYKcmyk(19.3%, 63.1%, 0%, 31%)
CIE-LABlab(42.26, 50.59, -45.62)
CIE-LCHlch(42.26, 68.12, 317.96°)
OKLaboklab(52.4% 0.1236 -0.1281)
OKLCHoklch(52.4% 0.178 314)
XYZxyz(20.8808, 12.6666, 42.4108)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41B0 #63B041
analogous
#5741B0 #8E41B0 #B0419A
triadic
#8E41B0 #B08E41 #41B08E
tetradic
#8E41B0 #B05741 #63B041 #419AB0
square
#8E41B0 #B05741 #63B041 #419AB0
split-complementary
#8E41B0 #9AB041 #41B057
monochromatic
#462057 #6A3083 #8E41B0 #AA67C7 #C394D7

Accessibility & contrast

On white

5.94
#8E41B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8E41B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41B0
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41B0#FFFFFF#000000##FFFFFF
##8E41B01.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB3
Deuteranopia (green-blind)
#3C66AD
Tritanopia (blue-blind)
#8B5672
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e41b0;
/* rgb */ color: rgb(142, 65, 176);
/* oklch */ color: oklch(52.4% 0.178 314.0);
Tailwind
colors: {
  custom: {
    50: '#b27ac8',
    500: '#8e41b0',
    950: '#000000',
  },
}
SCSS
$custom: #8e41b0;
$custom-light: #b27ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41b0",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 281.622,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.17801,
    "h": 314
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#8E41B0
secondary
#9BC38A
accent
#D6527A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8E41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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