#8E41EA#8E41EA

#8E41EA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.238 H 299.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8E41EA
RGBrgb(142, 65, 234)
HSLhsl(267, 80%, 59%)
HSVhsv(267, 72%, 92%)
CMYKcmyk(39.3%, 72.2%, 0%, 8.2%)
CIE-LABlab(46.27, 63.85, -72.61)
CIE-LCHlch(46.27, 96.69, 311.33°)
OKLaboklab(56.54% 0.1166 -0.2074)
OKLCHoklch(56.54% 0.238 299.4)
XYZxyz(27.8932, 15.4716, 79.3427)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41EA #9DEA41
analogous
#4148EA #8E41EA #E241EA
triadic
#8E41EA #EA8E41 #41EA8E
tetradic
#8E41EA #EA4148 #9DEA41 #41EAE2
square
#8E41EA #EA4148 #9DEA41 #41EAE2
split-complementary
#8E41EA #EAE241 #48EA41
monochromatic
#52129F #6E18D6 #8E41EA #AF78F0 #D0AFF6

Accessibility & contrast

On white

5.13
#8E41EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8E41EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41EA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41EA#FFFFFF#000000##FFFFFF
##8E41EA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#786C92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e41ea;
/* rgb */ color: rgb(142, 65, 234);
/* oklch */ color: oklch(56.5% 0.238 299.4);
Tailwind
colors: {
  custom: {
    50: '#b67cf2',
    500: '#8e41ea',
    950: '#000000',
  },
}
SCSS
$custom: #8e41ea;
$custom-light: #b67cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41ea",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 267.337,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.23794,
    "h": 299.4
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#8E41EA
secondary
#C6E5A2
accent
#F7319D
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8E41EA

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

Preview Lab → · Contrast checker → · Palette generator →

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