#8E41C8#8E41C8

#8E41C8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.203 H 307.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8E41C8
RGBrgb(142, 65, 200)
HSLhsl(274, 55%, 52%)
HSVhsv(274, 68%, 78%)
CMYKcmyk(29%, 67.5%, 0%, 21.6%)
CIE-LABlab(43.80, 55.91, -57.17)
CIE-LCHlch(43.80, 79.97, 314.36°)
OKLaboklab(54.01% 0.1221 -0.162)
OKLCHoklch(54.01% 0.203 307)
XYZxyz(23.4687, 13.7018, 56.0407)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41C8 #7BC841
analogous
#4B41C8 #8E41C8 #C841BF
triadic
#8E41C8 #C88E41 #41C88E
tetradic
#8E41C8 #C84B41 #7BC841 #41BFC8
square
#8E41C8 #C84B41 #7BC841 #41BFC8
split-complementary
#8E41C8 #BFC841 #41C84B
monochromatic
#4D206F #6E2E9E #8E41C8 #AA70D6 #C6A0E3

Accessibility & contrast

On white

5.61
#8E41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8E41C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41C8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41C8#FFFFFF#000000##FFFFFF
##8E41C81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#1E68C5
Tritanopia (blue-blind)
#845F7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e41c8;
/* rgb */ color: rgb(142, 65, 200);
/* oklch */ color: oklch(54.0% 0.203 307.0);
Tailwind
colors: {
  custom: {
    50: '#b47bd9',
    500: '#8e41c8',
    950: '#000000',
  },
}
SCSS
$custom: #8e41c8;
$custom-light: #b47bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41c8",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 274.222,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.20285,
    "h": 307
  },
  "luminance": 0.13702
}

Semantic roles & 50–950 ramp

primary
#8E41C8
secondary
#AED095
accent
#DE4989
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8E41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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