#8D3AA7#8D3AA7

#8D3AA7 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.8% C 0.178 H 317.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8D3AA7
RGBrgb(141, 58, 167)
HSLhsl(286, 48%, 44%)
HSVhsv(286, 65%, 65%)
CMYKcmyk(15.6%, 65.3%, 0%, 34.5%)
CIE-LABlab(40.38, 51.75, -43.29)
CIE-LCHlch(40.38, 67.47, 320.09°)
OKLaboklab(50.84% 0.131 -0.1213)
OKLCHoklch(50.84% 0.179 317.2)
XYZxyz(19.4716, 11.4796, 37.7418)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3AA7 #54A73A
analogous
#573AA7 #8D3AA7 #A73A8B
triadic
#8D3AA7 #A78D3A #3AA78D
tetradic
#8D3AA7 #A7573A #54A73A #3A8BA7
square
#8D3AA7 #A7573A #54A73A #3A8BA7
split-complementary
#8D3AA7 #8BA73A #3AA757
monochromatic
#401A4C #672A7A #8D3AA7 #AB59C5 #C286D5

Accessibility & contrast

On white

6.37
#8D3AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8D3AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3AA7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3AA7#FFFFFF#000000##FFFFFF
##8D3AA71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125AAA
Deuteranopia (green-blind)
#3D62A4
Tritanopia (blue-blind)
#8C4E6B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d3aa7;
/* rgb */ color: rgb(141, 58, 167);
/* oklch */ color: oklch(50.8% 0.178 317.2);
Tailwind
colors: {
  custom: {
    50: '#b176c2',
    500: '#8d3aa7',
    950: '#000000',
  },
}
SCSS
$custom: #8d3aa7;
$custom-light: #b176c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3aa7",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 285.688,
    "s": 48.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.1785,
    "h": 317.2
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#8D3AA7
secondary
#8DBF7E
accent
#D85070
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110912
muted
#807B81

Preview Lab

Preview with #8D3AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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