#8D41C4#8D41C4

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

Color values

HEX#8D41C4
RGBrgb(141, 65, 196)
HSLhsl(275, 53%, 51%)
HSVhsv(275, 67%, 77%)
CMYKcmyk(28.1%, 66.8%, 0%, 23.1%)
CIE-LABlab(43.40, 54.79, -55.50)
CIE-LCHlch(43.40, 77.99, 314.63°)
OKLaboklab(53.61% 0.1211 -0.1572)
OKLCHoklch(53.61% 0.198 307.6)
XYZxyz(22.8365, 13.4291, 53.6029)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41C4 #78C441
analogous
#4B41C4 #8D41C4 #C441B9
triadic
#8D41C4 #C48D41 #41C48D
tetradic
#8D41C4 #C44B41 #78C441 #41B9C4
square
#8D41C4 #C44B41 #78C441 #41B9C4
split-complementary
#8D41C4 #B9C441 #41C44B
monochromatic
#4B216A #6C2F98 #8D41C4 #A970D3 #C59EE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D41C4#FFFFFF#000000##FFFFFF
##8D41C41.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)
#0064C8
Deuteranopia (green-blind)
#2467C1
Tritanopia (blue-blind)
#845D7D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d41c4;
/* rgb */ color: rgb(141, 65, 196);
/* oklch */ color: oklch(53.6% 0.198 307.6);
Tailwind
colors: {
  custom: {
    50: '#b37bd7',
    500: '#8d41c4',
    950: '#000000',
  },
}
SCSS
$custom: #8d41c4;
$custom-light: #b37bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41c4",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 274.809,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.19842,
    "h": 307.6
  },
  "luminance": 0.13429
}

Semantic roles & 50–950 ramp

primary
#8D41C4
secondary
#ACCD93
accent
#DC4C88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D41C4

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

Preview Lab → · Contrast checker → · Palette generator →

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