#8D3BAA#8D3BAA

#8D3BAA is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.1% C 0.180 H 316.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8D3BAA
RGBrgb(141, 59, 170)
HSLhsl(284, 48%, 45%)
HSVhsv(284, 65%, 67%)
CMYKcmyk(17.1%, 65.3%, 0%, 33.3%)
CIE-LABlab(40.73, 51.91, -44.52)
CIE-LCHlch(40.73, 68.39, 319.38°)
OKLaboklab(51.15% 0.1297 -0.1249)
OKLCHoklch(51.15% 0.18 316.1)
XYZxyz(19.8031, 11.6937, 39.2364)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3BAA #58AA3B
analogous
#553BAA #8D3BAA #AA3B90
triadic
#8D3BAA #AA8D3B #3BAA8D
tetradic
#8D3BAA #AA553B #58AA3B #3B90AA
square
#8D3BAA #AA553B #58AA3B #3B90AA
split-complementary
#8D3BAA #90AA3B #3BAA55
monochromatic
#421B4F #672B7D #8D3BAA #AB5CC6 #C289D6

Accessibility & contrast

On white

6.29
#8D3BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8D3BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3BAA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3BAA#FFFFFF#000000##FFFFFF
##8D3BAA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5BAD
Deuteranopia (green-blind)
#3B62A7
Tritanopia (blue-blind)
#8B4F6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3baa;
/* rgb */ color: rgb(141, 59, 170);
/* oklch */ color: oklch(51.1% 0.180 316.1);
Tailwind
colors: {
  custom: {
    50: '#b177c4',
    500: '#8d3baa',
    950: '#000000',
  },
}
SCSS
$custom: #8d3baa;
$custom-light: #b177c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3baa",
  "rgb": {
    "r": 141,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 284.324,
    "s": 48.472,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51149,
    "c": 0.18006,
    "h": 316.1
  },
  "luminance": 0.11693
}

Semantic roles & 50–950 ramp

primary
#8D3BAA
secondary
#91C080
accent
#D85073
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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