#8E41BE#8E41BE

#8E41BE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.3% C 0.192 H 309.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8E41BE
RGBrgb(142, 65, 190)
HSLhsl(277, 49%, 50%)
HSVhsv(277, 66%, 75%)
CMYKcmyk(25.3%, 65.8%, 0%, 25.5%)
CIE-LABlab(43.14, 53.66, -52.43)
CIE-LCHlch(43.14, 75.02, 315.66°)
OKLaboklab(53.32% 0.123 -0.1481)
OKLCHoklch(53.32% 0.192 309.7)
XYZxyz(22.3381, 13.2495, 50.0859)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41BE #71BE41
analogous
#4F41BE #8E41BE #BE41B0
triadic
#8E41BE #BE8E41 #41BE8E
tetradic
#8E41BE #BE4F41 #71BE41 #41B0BE
square
#8E41BE #BE4F41 #71BE41 #41B0BE
split-complementary
#8E41BE #B0BE41 #41BE4F
monochromatic
#4A2263 #6C3190 #8E41BE #A96FCE #C49CDD

Accessibility & contrast

On white

5.75
#8E41BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8E41BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41BE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41BE#FFFFFF#000000##FFFFFF
##8E41BE1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#2E67BB
Tritanopia (blue-blind)
#875B7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e41be;
/* rgb */ color: rgb(142, 65, 190);
/* oklch */ color: oklch(53.3% 0.192 309.7);
Tailwind
colors: {
  custom: {
    50: '#b37bd2',
    500: '#8e41be',
    950: '#000000',
  },
}
SCSS
$custom: #8e41be;
$custom-light: #b37bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41be",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 276.96,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.5332,
    "c": 0.19248,
    "h": 309.7
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#8E41BE
secondary
#A7C991
accent
#D94F84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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