#8E41BD#8E41BD

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

Color values

HEX#8E41BD
RGBrgb(142, 65, 189)
HSLhsl(277, 49%, 50%)
HSVhsv(277, 66%, 74%)
CMYKcmyk(24.9%, 65.6%, 0%, 25.9%)
CIE-LABlab(43.07, 53.44, -51.95)
CIE-LCHlch(43.07, 74.53, 315.81°)
OKLaboklab(53.25% 0.123 -0.1467)
OKLCHoklch(53.25% 0.191 310)
XYZxyz(22.2292, 13.2059, 49.5122)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41BD #70BD41
analogous
#5041BD #8E41BD #BD41AE
triadic
#8E41BD #BD8E41 #41BD8E
tetradic
#8E41BD #BD5041 #70BD41 #41AEBD
square
#8E41BD #BD5041 #70BD41 #41AEBD
split-complementary
#8E41BD #AEBD41 #41BD50
monochromatic
#4A2262 #6C318F #8E41BD #A96ECD #C49CDD

Accessibility & contrast

On white

5.77
#8E41BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8E41BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41BD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41BD#FFFFFF#000000##FFFFFF
##8E41BD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#885A79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e41bd;
/* rgb */ color: rgb(142, 65, 189);
/* oklch */ color: oklch(53.3% 0.191 310.0);
Tailwind
colors: {
  custom: {
    50: '#b37bd2',
    500: '#8e41bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e41bd;
$custom-light: #b37bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41bd",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 277.258,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53252,
    "c": 0.19145,
    "h": 310
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#8E41BD
secondary
#A6C991
accent
#D84F83
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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