#8D3AAA#8D3AAA

#8D3AAA is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.0% C 0.181 H 316.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8D3AAA
RGBrgb(141, 58, 170)
HSLhsl(284, 49%, 45%)
HSVhsv(284, 66%, 67%)
CMYKcmyk(17.1%, 65.9%, 0%, 33.3%)
CIE-LABlab(40.56, 52.37, -44.78)
CIE-LCHlch(40.56, 68.91, 319.46°)
OKLaboklab(51.03% 0.1309 -0.1257)
OKLCHoklch(51.03% 0.181 316.2)
XYZxyz(19.7521, 11.5918, 39.2194)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3AAA #57AA3A
analogous
#553AAA #8D3AAA #AA3A8F
triadic
#8D3AAA #AA8D3A #3AAA8D
tetradic
#8D3AAA #AA553A #57AA3A #3A8FAA
square
#8D3AAA #AA553A #57AA3A #3A8FAA
split-complementary
#8D3AAA #8FAA3A #3AAA55
monochromatic
#411B4F #672A7C #8D3AAA #AB5AC7 #C288D6

Accessibility & contrast

On white

6.33
#8D3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8D3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3AAA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3AAA#FFFFFF#000000##FFFFFF
##8D3AAA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095BAD
Deuteranopia (green-blind)
#3A62A7
Tritanopia (blue-blind)
#8B4F6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3aaa;
/* rgb */ color: rgb(141, 58, 170);
/* oklch */ color: oklch(51.0% 0.181 316.2);
Tailwind
colors: {
  custom: {
    50: '#b276c4',
    500: '#8d3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8d3aaa;
$custom-light: #b276c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3aaa",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 284.464,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.18145,
    "h": 316.2
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#8D3AAA
secondary
#90C17F
accent
#D94F73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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