#8D3A9F#8D3A9F

#8D3A9F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.3% C 0.171 H 320.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8D3A9F
RGBrgb(141, 58, 159)
HSLhsl(289, 47%, 43%)
HSVhsv(289, 64%, 62%)
CMYKcmyk(11.3%, 63.5%, 0%, 37.6%)
CIE-LABlab(39.90, 50.13, -39.26)
CIE-LCHlch(39.90, 63.67, 321.93°)
OKLaboklab(50.35% 0.131 -0.1095)
OKLCHoklch(50.35% 0.171 320.1)
XYZxyz(18.7548, 11.1929, 33.9667)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3A9F #4C9F3A
analogous
#5A3A9F #8D3A9F #9F3A7E
triadic
#8D3A9F #9F8D3A #3A9F8D
tetradic
#8D3A9F #9F5A3A #4C9F3A #3A7E9F
square
#8D3A9F #9F5A3A #4C9F3A #3A7E9F
split-complementary
#8D3A9F #7E9F3A #3A9F5A
monochromatic
#3D1945 #652A72 #8D3A9F #AE55C1 #C382D1

Accessibility & contrast

On white

6.48
#8D3A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8D3A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3A9F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3A9F#FFFFFF#000000##FFFFFF
##8D3A9F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#42619C
Tritanopia (blue-blind)
#8E4B67
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d3a9f;
/* rgb */ color: rgb(141, 58, 159);
/* oklch */ color: oklch(50.3% 0.171 320.1);
Tailwind
colors: {
  custom: {
    50: '#b176bc',
    500: '#8d3a9f',
    950: '#000000',
  },
}
SCSS
$custom: #8d3a9f;
$custom-light: #b176bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3a9f",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 289.307,
    "s": 46.544,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.17073,
    "h": 320.1
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#8D3A9F
secondary
#85BB7A
accent
#D65269
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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