#8D41B2#8D41B2

#8D41B2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.4% C 0.180 H 312.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8D41B2
RGBrgb(141, 65, 178)
HSLhsl(280, 47%, 48%)
HSVhsv(280, 63%, 70%)
CMYKcmyk(20.8%, 63.5%, 0%, 30.2%)
CIE-LABlab(42.24, 50.79, -46.83)
CIE-LCHlch(42.24, 69.08, 317.32°)
OKLaboklab(52.4% 0.1223 -0.1317)
OKLCHoklch(52.4% 0.18 312.9)
XYZxyz(20.9093, 12.6582, 43.4527)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D41B2 #66B241
analogous
#5441B2 #8D41B2 #B2419E
triadic
#8D41B2 #B28D41 #41B28D
tetradic
#8D41B2 #B25441 #66B241 #419EB2
square
#8D41B2 #B25441 #66B241 #419EB2
split-complementary
#8D41B2 #9EB241 #41B254
monochromatic
#462058 #693185 #8D41B2 #A968C8 #C295D8

Accessibility & contrast

On white

5.95
#8D41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8D41B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D41B2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D41B2#FFFFFF#000000##FFFFFF
##8D41B21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#3A65AF
Tritanopia (blue-blind)
#895674
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d41b2;
/* rgb */ color: rgb(141, 65, 178);
/* oklch */ color: oklch(52.4% 0.180 312.9);
Tailwind
colors: {
  custom: {
    50: '#b27aca',
    500: '#8d41b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d41b2;
$custom-light: #b27aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d41b2",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 280.354,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.1797,
    "h": 312.9
  },
  "luminance": 0.12658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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