#8D3A8A#8D3A8A

#8D3A8A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.1% C 0.151 H 329.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8D3A8A
RGBrgb(141, 58, 138)
HSLhsl(302, 42%, 39%)
HSVhsv(302, 59%, 55%)
CMYKcmyk(0%, 58.9%, 2.1%, 44.7%)
CIE-LABlab(38.77, 46.11, -28.32)
CIE-LCHlch(38.77, 54.11, 328.44°)
OKLaboklab(49.15% 0.1295 -0.0778)
OKLCHoklch(49.15% 0.151 329)
XYZxyz(17.0848, 10.5249, 25.1715)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3A8A #3A8D3D
analogous
#673A8D #8D3A8A #8D3A61
triadic
#8D3A8A #8A8D3A #3A8A8D
tetradic
#8D3A8A #8D673A #3A8D3D #3A618D
square
#8D3A8A #8D673A #3A8D3D #3A618D
split-complementary
#8D3A8A #618D3A #3A8D67
monochromatic
#361635 #622860 #8D3A8A #B64EB2 #C879C5

Accessibility & contrast

On white

6.76
#8D3A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8D3A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3A8A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3A8A#FFFFFF#000000##FFFFFF
##8D3A8A1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#92435C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d3a8a;
/* rgb */ color: rgb(141, 58, 138);
/* oklch */ color: oklch(49.1% 0.151 329.0);
Tailwind
colors: {
  custom: {
    50: '#b175ac',
    500: '#8d3a8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d3a8a;
$custom-light: #b175ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3a8a",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 302.169,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4915,
    "c": 0.15111,
    "h": 329
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#8D3A8A
secondary
#71B174
accent
#D25B56
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D3A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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