#8E41CC#8E41CC

#8E41CC is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.3% C 0.207 H 306.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8E41CC
RGBrgb(142, 65, 204)
HSLhsl(273, 58%, 53%)
HSVhsv(273, 68%, 80%)
CMYKcmyk(30.4%, 68.1%, 0%, 20%)
CIE-LABlab(44.08, 56.83, -59.04)
CIE-LCHlch(44.08, 81.95, 313.90°)
OKLaboklab(54.29% 0.1216 -0.1675)
OKLCHoklch(54.29% 0.207 306)
XYZxyz(23.9423, 13.8912, 58.5350)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41CC #7FCC41
analogous
#4841CC #8E41CC #CC41C5
triadic
#8E41CC #CC8E41 #41CC8E
tetradic
#8E41CC #CC4841 #7FCC41 #41C5CC
square
#8E41CC #CC4841 #7FCC41 #41C5CC
split-complementary
#8E41CC #C5CC41 #41CC48
monochromatic
#4E1F74 #6E2CA4 #8E41CC #AB71D9 #C7A1E6

Accessibility & contrast

On white

5.56
#8E41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8E41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41CC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41CC#FFFFFF#000000##FFFFFF
##8E41CC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#1469C9
Tritanopia (blue-blind)
#836081
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e41cc;
/* rgb */ color: rgb(142, 65, 204);
/* oklch */ color: oklch(54.3% 0.207 306.0);
Tailwind
colors: {
  custom: {
    50: '#b47bdc',
    500: '#8e41cc',
    950: '#000000',
  },
}
SCSS
$custom: #8e41cc;
$custom-light: #b47bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41cc",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 273.237,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.207,
    "h": 306
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

primary
#8E41CC
secondary
#B1D396
accent
#E1478C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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