#8E41DA#8E41DA

#8E41DA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.3% C 0.221 H 302.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8E41DA
RGBrgb(142, 65, 218)
HSLhsl(270, 67%, 55%)
HSVhsv(270, 70%, 85%)
CMYKcmyk(34.9%, 70.2%, 0%, 14.5%)
CIE-LABlab(45.07, 60.07, -65.47)
CIE-LCHlch(45.07, 88.85, 312.54°)
OKLaboklab(55.32% 0.1196 -0.1864)
OKLCHoklch(55.32% 0.221 302.7)
XYZxyz(25.6975, 14.5933, 67.7790)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41DA #8DDA41
analogous
#4141DA #8E41DA #DA41DA
triadic
#8E41DA #DA8E41 #41DA8E
tetradic
#8E41DA #DA4141 #8DDA41 #41DADA
square
#8E41DA #DA4141 #8DDA41 #41DADA
split-complementary
#8E41DA #DADA41 #41DA41
monochromatic
#511A86 #6F24BA #8E41DA #AC74E4 #CBA7EE

Accessibility & contrast

On white

5.36
#8E41DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8E41DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41DA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41DA#FFFFFF#000000##FFFFFF
##8E41DA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#7E6589
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e41da;
/* rgb */ color: rgb(142, 65, 218);
/* oklch */ color: oklch(55.3% 0.221 302.7);
Tailwind
colors: {
  custom: {
    50: '#b57ce6',
    500: '#8e41da',
    950: '#000000',
  },
}
SCSS
$custom: #8e41da;
$custom-light: #b57ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41da",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 218
  },
  "hsl": {
    "h": 270.196,
    "s": 67.401,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55316,
    "c": 0.22148,
    "h": 302.7
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#8E41DA
secondary
#BBDB9C
accent
#EA3E93
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8E41DA

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

Preview Lab → · Contrast checker → · Palette generator →

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