#8D41C3#8D41C3

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

Color values

HEX#8D41C3
RGBrgb(141, 65, 195)
HSLhsl(275, 52%, 51%)
HSVhsv(275, 67%, 76%)
CMYKcmyk(27.7%, 66.7%, 0%, 23.5%)
CIE-LABlab(43.34, 54.56, -55.03)
CIE-LCHlch(43.34, 77.49, 314.76°)
OKLaboklab(53.54% 0.1212 -0.1558)
OKLCHoklch(53.54% 0.197 307.9)
XYZxyz(22.7231, 13.3838, 53.0054)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41C3 #77C341
analogous
#4C41C3 #8D41C3 #C341B8
triadic
#8D41C3 #C38D41 #41C38D
tetradic
#8D41C3 #C34C41 #77C341 #41B8C3
square
#8D41C3 #C34C41 #77C341 #41B8C3
split-complementary
#8D41C3 #B8C341 #41C34C
monochromatic
#4B2169 #6C3097 #8D41C3 #A970D2 #C59EE0

Accessibility & contrast

On white

5.71
#8D41C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8D41C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41C3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41C3#FFFFFF#000000##FFFFFF
##8D41C31.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#2567C0
Tritanopia (blue-blind)
#855D7D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d41c3;
/* rgb */ color: rgb(141, 65, 195);
/* oklch */ color: oklch(53.5% 0.197 307.9);
Tailwind
colors: {
  custom: {
    50: '#b37bd6',
    500: '#8d41c3',
    950: '#000000',
  },
}
SCSS
$custom: #8d41c3;
$custom-light: #b37bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41c3",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 275.077,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5354,
    "c": 0.19738,
    "h": 307.9
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#8D41C3
secondary
#ABCD93
accent
#DB4C88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D41C3

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

Preview Lab → · Contrast checker → · Palette generator →

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