#8E41C5#8E41C5

#8E41C5 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.8% C 0.200 H 307.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8E41C5
RGBrgb(142, 65, 197)
HSLhsl(275, 53%, 51%)
HSVhsv(275, 67%, 77%)
CMYKcmyk(27.9%, 67%, 0%, 22.7%)
CIE-LABlab(43.60, 55.23, -55.76)
CIE-LCHlch(43.60, 78.48, 314.73°)
OKLaboklab(53.8% 0.1224 -0.1579)
OKLCHoklch(53.8% 0.2 307.8)
XYZxyz(23.1216, 13.5629, 54.2124)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41C5 #78C541
analogous
#4C41C5 #8E41C5 #C541BA
triadic
#8E41C5 #C58E41 #41C58E
tetradic
#8E41C5 #C54C41 #78C541 #41BAC5
square
#8E41C5 #C54C41 #78C541 #41BAC5
split-complementary
#8E41C5 #BAC541 #41C54C
monochromatic
#4C216B #6D2F9A #8E41C5 #AA70D3 #C69FE2

Accessibility & contrast

On white

5.66
#8E41C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8E41C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41C5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41C5#FFFFFF#000000##FFFFFF
##8E41C51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#2468C2
Tritanopia (blue-blind)
#855D7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e41c5;
/* rgb */ color: rgb(142, 65, 197);
/* oklch */ color: oklch(53.8% 0.200 307.8);
Tailwind
colors: {
  custom: {
    50: '#b37bd7',
    500: '#8e41c5',
    950: '#000000',
  },
}
SCSS
$custom: #8e41c5;
$custom-light: #b37bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41c5",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 275,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.19974,
    "h": 307.8
  },
  "luminance": 0.13563
}

Semantic roles & 50–950 ramp

primary
#8E41C5
secondary
#ACCE94
accent
#DD4B88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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