#8D3AA5#8D3AA5

#8D3AA5 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.7% C 0.177 H 317.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8D3AA5
RGBrgb(141, 58, 165)
HSLhsl(287, 48%, 44%)
HSVhsv(287, 65%, 65%)
CMYKcmyk(14.5%, 64.8%, 0%, 35.3%)
CIE-LABlab(40.26, 51.34, -42.29)
CIE-LCHlch(40.26, 66.51, 320.52°)
OKLaboklab(50.71% 0.131 -0.1184)
OKLCHoklch(50.71% 0.177 317.9)
XYZxyz(19.2881, 11.4062, 36.7756)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3AA5 #52A53A
analogous
#573AA5 #8D3AA5 #A53A87
triadic
#8D3AA5 #A58D3A #3AA58D
tetradic
#8D3AA5 #A5573A #52A53A #3A87A5
square
#8D3AA5 #A5573A #52A53A #3A87A5
split-complementary
#8D3AA5 #87A53A #3AA557
monochromatic
#401A4A #662A78 #8D3AA5 #AC58C4 #C285D4

Accessibility & contrast

On white

6.40
#8D3AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8D3AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3AA5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3AA5#FFFFFF#000000##FFFFFF
##8D3AA51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165AA8
Deuteranopia (green-blind)
#3E62A2
Tritanopia (blue-blind)
#8C4D6A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d3aa5;
/* rgb */ color: rgb(141, 58, 165);
/* oklch */ color: oklch(50.7% 0.177 317.9);
Tailwind
colors: {
  custom: {
    50: '#b176c0',
    500: '#8d3aa5',
    950: '#000000',
  },
}
SCSS
$custom: #8d3aa5;
$custom-light: #b176c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3aa5",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 286.542,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50714,
    "c": 0.17655,
    "h": 317.9
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#8D3AA5
secondary
#8BBE7D
accent
#D8506F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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