#8D3EAE#8D3EAE

#8D3EAE is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.8% C 0.180 H 314.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8D3EAE
RGBrgb(141, 62, 174)
HSLhsl(282, 47%, 46%)
HSVhsv(282, 64%, 68%)
CMYKcmyk(19%, 64.4%, 0%, 31.8%)
CIE-LABlab(41.48, 51.36, -45.69)
CIE-LCHlch(41.48, 68.74, 318.34°)
OKLaboklab(51.77% 0.126 -0.1284)
OKLCHoklch(51.77% 0.18 314.5)
XYZxyz(20.3459, 12.1646, 41.3124)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EAE #5FAE3E
analogous
#553EAE #8D3EAE #AE3E97
triadic
#8D3EAE #AE8D3E #3EAE8D
tetradic
#8D3EAE #AE553E #5FAE3E #3E97AE
square
#8D3EAE #AE553E #5FAE3E #3E97AE
split-complementary
#8D3EAE #97AE3E #3EAE55
monochromatic
#441E54 #682E81 #8D3EAE #A962C7 #C28FD7

Accessibility & contrast

On white

6.12
#8D3EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3EAE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3EAE#FFFFFF#000000##FFFFFF
##8D3EAE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5DB1
Deuteranopia (green-blind)
#3A64AB
Tritanopia (blue-blind)
#8A5370
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d3eae;
/* rgb */ color: rgb(141, 62, 174);
/* oklch */ color: oklch(51.8% 0.180 314.5);
Tailwind
colors: {
  custom: {
    50: '#b278c7',
    500: '#8d3eae',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eae;
$custom-light: #b278c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eae",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 282.321,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.17986,
    "h": 314.5
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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