#8D3EAA#8D3EAA

#8D3EAA is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.5% C 0.176 H 315.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8D3EAA
RGBrgb(141, 62, 170)
HSLhsl(284, 47%, 45%)
HSVhsv(284, 64%, 67%)
CMYKcmyk(17.1%, 63.5%, 0%, 33.3%)
CIE-LABlab(41.23, 50.51, -43.71)
CIE-LCHlch(41.23, 66.79, 319.13°)
OKLaboklab(51.52% 0.1261 -0.1225)
OKLCHoklch(51.52% 0.176 315.8)
XYZxyz(19.9617, 12.0110, 39.2893)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EAA #5BAA3E
analogous
#573EAA #8D3EAA #AA3E91
triadic
#8D3EAA #AA8D3E #3EAA8D
tetradic
#8D3EAA #AA573E #5BAA3E #3E91AA
square
#8D3EAA #AA573E #5BAA3E #3E91AA
split-complementary
#8D3EAA #91AA3E #3EAA57
monochromatic
#431D50 #682E7D #8D3EAA #AA60C5 #C28DD5

Accessibility & contrast

On white

6.17
#8D3EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8D3EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EAA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EAA#FFFFFF#000000##FFFFFF
##8D3EAA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAD
Deuteranopia (green-blind)
#3E63A7
Tritanopia (blue-blind)
#8B516E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d3eaa;
/* rgb */ color: rgb(141, 62, 170);
/* oklch */ color: oklch(51.5% 0.176 315.8);
Tailwind
colors: {
  custom: {
    50: '#b178c4',
    500: '#8d3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eaa;
$custom-light: #b178c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eaa",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 283.889,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51516,
    "c": 0.17582,
    "h": 315.8
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#8D3EAA
secondary
#94C084
accent
#D65275
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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