#8E41BB#8E41BB

#8E41BB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.1% C 0.189 H 310.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8E41BB
RGBrgb(142, 65, 187)
HSLhsl(278, 48%, 49%)
HSVhsv(278, 65%, 73%)
CMYKcmyk(24.1%, 65.2%, 0%, 26.7%)
CIE-LABlab(42.94, 52.99, -50.99)
CIE-LCHlch(42.94, 73.54, 316.11°)
OKLaboklab(53.12% 0.1232 -0.1439)
OKLCHoklch(53.12% 0.189 310.6)
XYZxyz(22.0136, 13.1197, 48.3768)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41BB #6EBB41
analogous
#5141BB #8E41BB #BB41AB
triadic
#8E41BB #BB8E41 #41BB8E
tetradic
#8E41BB #BB5141 #6EBB41 #41ABBB
square
#8E41BB #BB5141 #6EBB41 #41ABBB
split-complementary
#8E41BB #ABBB41 #41BB51
monochromatic
#492160 #6C318E #8E41BB #A96DCC #C49ADC

Accessibility & contrast

On white

5.80
#8E41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8E41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41BB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41BB#FFFFFF#000000##FFFFFF
##8E41BB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3267B8
Tritanopia (blue-blind)
#885A78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e41bb;
/* rgb */ color: rgb(142, 65, 187);
/* oklch */ color: oklch(53.1% 0.189 310.6);
Tailwind
colors: {
  custom: {
    50: '#b37bd0',
    500: '#8e41bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e41bb;
$custom-light: #b37bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41bb",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 277.869,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53118,
    "c": 0.18937,
    "h": 310.6
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#8E41BB
secondary
#A5C890
accent
#D85082
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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