#8D41D3#8D41D3

#8D41D3 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.7% C 0.214 H 303.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8D41D3
RGBrgb(141, 65, 211)
HSLhsl(271, 62%, 54%)
HSVhsv(271, 69%, 83%)
CMYKcmyk(33.2%, 69.2%, 0%, 17.3%)
CIE-LABlab(44.44, 58.24, -62.49)
CIE-LCHlch(44.44, 85.42, 312.99°)
OKLaboklab(54.68% 0.1193 -0.1777)
OKLCHoklch(54.68% 0.214 303.9)
XYZxyz(24.6300, 14.1465, 63.0484)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41D3 #87D341
analogous
#4441D3 #8D41D3 #D341D0
triadic
#8D41D3 #D38D41 #41D38D
tetradic
#8D41D3 #D34441 #87D341 #41D0D3
square
#8D41D3 #D34441 #87D341 #41D0D3
split-complementary
#8D41D3 #D0D341 #41D344
monochromatic
#4F1D7D #6E28AE #8D41D3 #AB73DF #C9A4EA

Accessibility & contrast

On white

5.48
#8D41D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8D41D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41D3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41D3#FFFFFF#000000##FFFFFF
##8D41D31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#7F6385
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d41d3;
/* rgb */ color: rgb(141, 65, 211);
/* oklch */ color: oklch(54.7% 0.214 303.9);
Tailwind
colors: {
  custom: {
    50: '#b47be1',
    500: '#8d41d3',
    950: '#000000',
  },
}
SCSS
$custom: #8d41d3;
$custom-light: #b47be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41d3",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 271.233,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54682,
    "c": 0.21404,
    "h": 303.9
  },
  "luminance": 0.14146
}

Semantic roles & 50–950 ramp

primary
#8D41D3
secondary
#B7D799
accent
#E54291
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D41D3

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

Preview Lab → · Contrast checker → · Palette generator →

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