#8D41C5#8D41C5

#8D41C5 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.7% C 0.199 H 307.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8D41C5
RGBrgb(141, 65, 197)
HSLhsl(275, 53%, 51%)
HSVhsv(275, 67%, 77%)
CMYKcmyk(28.4%, 67%, 0%, 22.7%)
CIE-LABlab(43.47, 55.02, -55.97)
CIE-LCHlch(43.47, 78.49, 314.51°)
OKLaboklab(53.68% 0.121 -0.1585)
OKLCHoklch(53.68% 0.199 307.4)
XYZxyz(22.9507, 13.4748, 54.2043)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41C5 #79C541
analogous
#4B41C5 #8D41C5 #C541BB
triadic
#8D41C5 #C58D41 #41C58D
tetradic
#8D41C5 #C54B41 #79C541 #41BBC5
square
#8D41C5 #C54B41 #79C541 #41BBC5
split-complementary
#8D41C5 #BBC541 #41C54B
monochromatic
#4B216B #6C2F9A #8D41C5 #A970D3 #C59FE2

Accessibility & contrast

On white

5.68
#8D41C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8D41C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41C5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41C5#FFFFFF#000000##FFFFFF
##8D41C51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#2267C2
Tritanopia (blue-blind)
#845E7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d41c5;
/* rgb */ color: rgb(141, 65, 197);
/* oklch */ color: oklch(53.7% 0.199 307.4);
Tailwind
colors: {
  custom: {
    50: '#b37bd7',
    500: '#8d41c5',
    950: '#000000',
  },
}
SCSS
$custom: #8d41c5;
$custom-light: #b37bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41c5",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 274.545,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53679,
    "c": 0.19946,
    "h": 307.4
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#8D41C5
secondary
#ACCE94
accent
#DD4B89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8D41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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