#8E41CA#8E41CA

#8E41CA is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.205 H 306.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8E41CA
RGBrgb(142, 65, 202)
HSLhsl(274, 56%, 52%)
HSVhsv(274, 68%, 79%)
CMYKcmyk(29.7%, 67.8%, 0%, 20.8%)
CIE-LABlab(43.94, 56.37, -58.11)
CIE-LCHlch(43.94, 80.96, 314.13°)
OKLaboklab(54.15% 0.1218 -0.1648)
OKLCHoklch(54.15% 0.205 306.5)
XYZxyz(23.7040, 13.7959, 57.2798)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41CA #7DCA41
analogous
#4A41CA #8E41CA #CA41C1
triadic
#8E41CA #CA8E41 #41CA8E
tetradic
#8E41CA #CA4A41 #7DCA41 #41C1CA
square
#8E41CA #CA4A41 #7DCA41 #41C1CA
split-complementary
#8E41CA #C1CA41 #41CA4A
monochromatic
#4D2071 #6E2DA1 #8E41CA #AA71D7 #C7A1E5

Accessibility & contrast

On white

5.59
#8E41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8E41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41CA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41CA#FFFFFF#000000##FFFFFF
##8E41CA1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#1A68C7
Tritanopia (blue-blind)
#845F80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e41ca;
/* rgb */ color: rgb(142, 65, 202);
/* oklch */ color: oklch(54.1% 0.205 306.5);
Tailwind
colors: {
  custom: {
    50: '#b47bdb',
    500: '#8e41ca',
    950: '#000000',
  },
}
SCSS
$custom: #8e41ca;
$custom-light: #b47bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41ca",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 273.723,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5415,
    "c": 0.20493,
    "h": 306.5
  },
  "luminance": 0.13796
}

Semantic roles & 50–950 ramp

primary
#8E41CA
secondary
#B0D196
accent
#E0488A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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