#8D41B1#8D41B1

#8D41B1 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.3% C 0.179 H 313.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8D41B1
RGBrgb(141, 65, 177)
HSLhsl(281, 46%, 47%)
HSVhsv(281, 63%, 69%)
CMYKcmyk(20.3%, 63.3%, 0%, 30.6%)
CIE-LABlab(42.18, 50.57, -46.34)
CIE-LCHlch(42.18, 68.59, 317.50°)
OKLaboklab(52.34% 0.1223 -0.1303)
OKLCHoklch(52.34% 0.179 313.2)
XYZxyz(20.8092, 12.6182, 42.9258)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41B1 #65B141
analogous
#5541B1 #8D41B1 #B1419D
triadic
#8D41B1 #B18D41 #41B18D
tetradic
#8D41B1 #B15541 #65B141 #419DB1
square
#8D41B1 #B15541 #65B141 #419DB1
split-complementary
#8D41B1 #9DB141 #41B155
monochromatic
#462057 #693184 #8D41B1 #A968C7 #C295D8

Accessibility & contrast

On white

5.96
#8D41B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8D41B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41B1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41B1#FFFFFF#000000##FFFFFF
##8D41B11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125FB4
Deuteranopia (green-blind)
#3B65AE
Tritanopia (blue-blind)
#895673
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d41b1;
/* rgb */ color: rgb(141, 65, 177);
/* oklch */ color: oklch(52.3% 0.179 313.2);
Tailwind
colors: {
  custom: {
    50: '#b17ac9',
    500: '#8d41b1',
    950: '#000000',
  },
}
SCSS
$custom: #8d41b1;
$custom-light: #b17ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41b1",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 280.714,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.17866,
    "h": 313.2
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#8D41B1
secondary
#9DC38A
accent
#D6527C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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