#8E41D6#8E41D6

#8E41D6 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.217 H 303.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8E41D6
RGBrgb(142, 65, 214)
HSLhsl(271, 65%, 55%)
HSVhsv(271, 70%, 84%)
CMYKcmyk(33.6%, 69.6%, 0%, 16.1%)
CIE-LABlab(44.78, 59.14, -63.65)
CIE-LCHlch(44.78, 86.88, 312.89°)
OKLaboklab(55.02% 0.1202 -0.1811)
OKLCHoklch(55.02% 0.217 303.6)
XYZxyz(25.1804, 14.3865, 65.0556)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41D6 #89D641
analogous
#4441D6 #8E41D6 #D641D3
triadic
#8E41D6 #D68E41 #41D68E
tetradic
#8E41D6 #D64441 #89D641 #41D3D6
square
#8E41D6 #D64441 #89D641 #41D3D6
split-complementary
#8E41D6 #D3D641 #41D644
monochromatic
#501C81 #6F27B3 #8E41D6 #AC73E1 #CAA6EC

Accessibility & contrast

On white

5.42
#8E41D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8E41D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41D6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41D6#FFFFFF#000000##FFFFFF
##8E41D61.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#806487
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e41d6;
/* rgb */ color: rgb(142, 65, 214);
/* oklch */ color: oklch(55.0% 0.217 303.6);
Tailwind
colors: {
  custom: {
    50: '#b57ce4',
    500: '#8e41d6',
    950: '#000000',
  },
}
SCSS
$custom: #8e41d6;
$custom-light: #b57ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41d6",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 271.007,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.21736,
    "h": 303.6
  },
  "luminance": 0.14386
}

Semantic roles & 50–950 ramp

primary
#8E41D6
secondary
#B8D99A
accent
#E74091
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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