#8D41D6#8D41D6

#8D41D6 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.217 H 303.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8D41D6
RGBrgb(141, 65, 214)
HSLhsl(271, 65%, 55%)
HSVhsv(271, 70%, 84%)
CMYKcmyk(34.1%, 69.6%, 0%, 16.1%)
CIE-LABlab(44.66, 58.94, -63.86)
CIE-LCHlch(44.66, 86.91, 312.71°)
OKLaboklab(54.9% 0.1189 -0.1817)
OKLCHoklch(54.9% 0.217 303.2)
XYZxyz(25.0096, 14.2984, 65.0476)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41D6 #8AD641
analogous
#4341D6 #8D41D6 #D641D4
triadic
#8D41D6 #D68D41 #41D68D
tetradic
#8D41D6 #D64341 #8AD641 #41D4D6
square
#8D41D6 #D64341 #8AD641 #41D4D6
split-complementary
#8D41D6 #D4D641 #41D643
monochromatic
#4F1C81 #6E27B3 #8D41D6 #AB73E1 #C9A6EC

Accessibility & contrast

On white

5.44
#8D41D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8D41D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41D6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41D6#FFFFFF#000000##FFFFFF
##8D41D61.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#7E6487
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8d41d6;
/* rgb */ color: rgb(141, 65, 214);
/* oklch */ color: oklch(54.9% 0.217 303.2);
Tailwind
colors: {
  custom: {
    50: '#b47be4',
    500: '#8d41d6',
    950: '#000000',
  },
}
SCSS
$custom: #8d41d6;
$custom-light: #b47be4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41d6",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 270.604,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.21715,
    "h": 303.2
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#8D41D6
secondary
#B9D99A
accent
#E74092
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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