#8D41B3#8D41B3

#8D41B3 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.5% C 0.181 H 312.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8D41B3
RGBrgb(141, 65, 179)
HSLhsl(280, 47%, 48%)
HSVhsv(280, 64%, 70%)
CMYKcmyk(21.2%, 63.7%, 0%, 29.8%)
CIE-LABlab(42.31, 51.00, -47.32)
CIE-LCHlch(42.31, 69.57, 317.15°)
OKLaboklab(52.47% 0.1222 -0.1331)
OKLCHoklch(52.47% 0.181 312.6)
XYZxyz(21.0100, 12.6985, 43.9834)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41B3 #67B341
analogous
#5441B3 #8D41B3 #B341A0
triadic
#8D41B3 #B38D41 #41B38D
tetradic
#8D41B3 #B35441 #67B341 #41A0B3
square
#8D41B3 #B35441 #67B341 #41A0B3
split-complementary
#8D41B3 #A0B341 #41B354
monochromatic
#462059 #6A3186 #8D41B3 #A969C8 #C296D9

Accessibility & contrast

On white

5.93
#8D41B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8D41B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41B3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41B3#FFFFFF#000000##FFFFFF
##8D41B31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D60B6
Deuteranopia (green-blind)
#3966B0
Tritanopia (blue-blind)
#895774
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d41b3;
/* rgb */ color: rgb(141, 65, 179);
/* oklch */ color: oklch(52.5% 0.181 312.6);
Tailwind
colors: {
  custom: {
    50: '#b27aca',
    500: '#8d41b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d41b3;
$custom-light: #b27aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41b3",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 280,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52468,
    "c": 0.18074,
    "h": 312.6
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

primary
#8D41B3
secondary
#9EC48B
accent
#D6517E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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