#8D3EAD#8D3EAD

#8D3EAD is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.7% C 0.179 H 314.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8D3EAD
RGBrgb(141, 62, 173)
HSLhsl(283, 47%, 46%)
HSVhsv(283, 64%, 68%)
CMYKcmyk(18.5%, 64.2%, 0%, 32.2%)
CIE-LABlab(41.42, 51.14, -45.20)
CIE-LCHlch(41.42, 68.25, 318.53°)
OKLaboklab(51.71% 0.126 -0.1269)
OKLCHoklch(51.71% 0.179 314.8)
XYZxyz(20.2487, 12.1258, 40.8009)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EAD #5EAD3E
analogous
#553EAD #8D3EAD #AD3E95
triadic
#8D3EAD #AD8D3E #3EAD8D
tetradic
#8D3EAD #AD553E #5EAD3E #3E95AD
square
#8D3EAD #AD553E #5EAD3E #3E95AD
split-complementary
#8D3EAD #95AD3E #3EAD55
monochromatic
#441E53 #682E80 #8D3EAD #A962C7 #C28FD7

Accessibility & contrast

On white

6.13
#8D3EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8D3EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3EAD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EAD#FFFFFF#000000##FFFFFF
##8D3EAD1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DB0
Deuteranopia (green-blind)
#3B64AA
Tritanopia (blue-blind)
#8A5370
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d3ead;
/* rgb */ color: rgb(141, 62, 173);
/* oklch */ color: oklch(51.7% 0.179 314.8);
Tailwind
colors: {
  custom: {
    50: '#b178c6',
    500: '#8d3ead',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ead;
$custom-light: #b178c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ead",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 173
  },
  "hsl": {
    "h": 282.703,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.17885,
    "h": 314.8
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

primary
#8D3EAD
secondary
#97C285
accent
#D75178
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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