#8D3BA1#8D3BA1

#8D3BA1 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.6% C 0.171 H 319.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8D3BA1
RGBrgb(141, 59, 161)
HSLhsl(288, 46%, 43%)
HSVhsv(288, 63%, 63%)
CMYKcmyk(12.4%, 63.4%, 0%, 36.9%)
CIE-LABlab(40.19, 50.06, -40.00)
CIE-LCHlch(40.19, 64.08, 321.37°)
OKLaboklab(50.59% 0.1298 -0.1117)
OKLCHoklch(50.59% 0.171 319.3)
XYZxyz(18.9807, 11.3647, 34.9051)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3BA1 #4FA13B
analogous
#5A3BA1 #8D3BA1 #A13B82
triadic
#8D3BA1 #A18D3B #3BA18D
tetradic
#8D3BA1 #A15A3B #4FA13B #3B82A1
square
#8D3BA1 #A15A3B #4FA13B #3B82A1
split-complementary
#8D3BA1 #82A13B #3BA15A
monochromatic
#3F1A47 #662B74 #8D3BA1 #AD58C2 #C384D2

Accessibility & contrast

On white

6.42
#8D3BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8D3BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3BA1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3BA1#FFFFFF#000000##FFFFFF
##8D3BA11.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A4
Deuteranopia (green-blind)
#42629E
Tritanopia (blue-blind)
#8D4C68
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d3ba1;
/* rgb */ color: rgb(141, 59, 161);
/* oklch */ color: oklch(50.6% 0.171 319.3);
Tailwind
colors: {
  custom: {
    50: '#b176bd',
    500: '#8d3ba1',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ba1;
$custom-light: #b176bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ba1",
  "rgb": {
    "r": 141,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 288.235,
    "s": 46.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.17123,
    "h": 319.3
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

primary
#8D3BA1
secondary
#88BC7C
accent
#D6526C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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