#8D31AE#8D31AE

#8D31AE is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.197 H 315.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8D31AE
RGBrgb(141, 49, 174)
HSLhsl(284, 56%, 44%)
HSVhsv(284, 72%, 68%)
CMYKcmyk(19%, 71.8%, 0%, 31.8%)
CIE-LABlab(39.44, 57.05, -48.96)
CIE-LCHlch(39.44, 75.18, 319.36°)
OKLaboklab(50.31% 0.1405 -0.1379)
OKLCHoklch(50.31% 0.197 315.5)
XYZxyz(19.7216, 10.9161, 41.1043)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D31AE #52AE31
analogous
#4E31AE #8D31AE #AE3190
triadic
#8D31AE #AE8D31 #31AE8D
tetradic
#8D31AE #AE4E31 #52AE31 #3190AE
square
#8D31AE #AE4E31 #52AE31 #3190AE
split-complementary
#8D31AE #90AE31 #31AE4E
monochromatic
#40164E #66247E #8D31AE #AC4FCD #C27FDB

Accessibility & contrast

On white

6.60
#8D31AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8D31AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D31AE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D31AE#FFFFFF#000000##FFFFFF
##8D31AE1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#2E5FAB
Tritanopia (blue-blind)
#8B4B6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d31ae;
/* rgb */ color: rgb(141, 49, 174);
/* oklch */ color: oklch(50.3% 0.197 315.5);
Tailwind
colors: {
  custom: {
    50: '#b272c7',
    500: '#8d31ae',
    950: '#000000',
  },
}
SCSS
$custom: #8d31ae;
$custom-light: #b272c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d31ae",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 284.16,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.19682,
    "h": 315.5
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#8D31AE
secondary
#8BC477
accent
#DF4870
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D31AE

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

Preview Lab → · Contrast checker → · Palette generator →

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