#8E41C2#8E41C2

#8E41C2 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.6% C 0.197 H 308.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8E41C2
RGBrgb(142, 65, 194)
HSLhsl(276, 51%, 51%)
HSVhsv(276, 66%, 76%)
CMYKcmyk(26.8%, 66.5%, 0%, 23.9%)
CIE-LABlab(43.40, 54.56, -54.34)
CIE-LCHlch(43.40, 77.00, 315.11°)
OKLaboklab(53.59% 0.1226 -0.1537)
OKLCHoklch(53.59% 0.197 308.6)
XYZxyz(22.7813, 13.4268, 52.4200)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E41C2 #75C241
analogous
#4D41C2 #8E41C2 #C241B5
triadic
#8E41C2 #C28E41 #41C28E
tetradic
#8E41C2 #C24D41 #75C241 #41B5C2
square
#8E41C2 #C24D41 #75C241 #41B5C2
split-complementary
#8E41C2 #B5C241 #41C24D
monochromatic
#4B2167 #6D3096 #8E41C2 #AA6FD1 #C59EE0

Accessibility & contrast

On white

5.70
#8E41C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8E41C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E41C2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E41C2#FFFFFF#000000##FFFFFF
##8E41C21.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#2967BF
Tritanopia (blue-blind)
#865C7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e41c2;
/* rgb */ color: rgb(142, 65, 194);
/* oklch */ color: oklch(53.6% 0.197 308.6);
Tailwind
colors: {
  custom: {
    50: '#b37bd5',
    500: '#8e41c2',
    950: '#000000',
  },
}
SCSS
$custom: #8e41c2;
$custom-light: #b37bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e41c2",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 275.814,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53592,
    "c": 0.19663,
    "h": 308.6
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#8E41C2
secondary
#AACC93
accent
#DB4D86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8E41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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