#8D3CAA#8D3CAA

#8D3CAA is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.3% C 0.179 H 316.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8D3CAA
RGBrgb(141, 60, 170)
HSLhsl(284, 48%, 45%)
HSVhsv(284, 65%, 67%)
CMYKcmyk(17.1%, 64.7%, 0%, 33.3%)
CIE-LABlab(40.89, 51.45, -44.25)
CIE-LCHlch(40.89, 67.86, 319.30°)
OKLaboklab(51.27% 0.1285 -0.1241)
OKLCHoklch(51.27% 0.179 316)
XYZxyz(19.8549, 11.7974, 39.2537)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CAA #59AA3C
analogous
#563CAA #8D3CAA #AA3C90
triadic
#8D3CAA #AA8D3C #3CAA8D
tetradic
#8D3CAA #AA563C #59AA3C #3C90AA
square
#8D3CAA #AA563C #59AA3C #3C90AA
split-complementary
#8D3CAA #90AA3C #3CAA56
monochromatic
#421C50 #672C7D #8D3CAA #AA5DC6 #C28BD6

Accessibility & contrast

On white

6.25
#8D3CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8D3CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CAA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CAA#FFFFFF#000000##FFFFFF
##8D3CAA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115CAD
Deuteranopia (green-blind)
#3C63A7
Tritanopia (blue-blind)
#8B506E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3caa;
/* rgb */ color: rgb(141, 60, 170);
/* oklch */ color: oklch(51.3% 0.179 316.0);
Tailwind
colors: {
  custom: {
    50: '#b177c4',
    500: '#8d3caa',
    950: '#000000',
  },
}
SCSS
$custom: #8d3caa;
$custom-light: #b177c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3caa",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 284.182,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5127,
    "c": 0.17866,
    "h": 316
  },
  "luminance": 0.11797
}

Semantic roles & 50–950 ramp

primary
#8D3CAA
secondary
#92C081
accent
#D75074
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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