#8D3AAF#8D3AAF

#8D3AAF is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.186 H 314.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8D3AAF
RGBrgb(141, 58, 175)
HSLhsl(283, 50%, 46%)
HSVhsv(283, 67%, 69%)
CMYKcmyk(19.4%, 66.9%, 0%, 31.4%)
CIE-LABlab(40.87, 53.41, -47.25)
CIE-LCHlch(40.87, 71.32, 318.50°)
OKLaboklab(51.36% 0.1306 -0.1329)
OKLCHoklch(51.36% 0.186 314.5)
XYZxyz(20.2341, 11.7846, 41.7579)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3AAF #5CAF3A
analogous
#523AAF #8D3AAF #AF3A96
triadic
#8D3AAF #AF8D3A #3AAF8D
tetradic
#8D3AAF #AF523A #5CAF3A #3A96AF
square
#8D3AAF #AF523A #5CAF3A #3A96AF
split-complementary
#8D3AAF #96AF3A #3AAF52
monochromatic
#431C53 #682B81 #8D3AAF #AA5DC9 #C28BD9

Accessibility & contrast

On white

6.26
#8D3AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8D3AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3AAF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3AAF#FFFFFF#000000##FFFFFF
##8D3AAF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3662AC
Tritanopia (blue-blind)
#8A5170
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d3aaf;
/* rgb */ color: rgb(141, 58, 175);
/* oklch */ color: oklch(51.4% 0.186 314.5);
Tailwind
colors: {
  custom: {
    50: '#b276c7',
    500: '#8d3aaf',
    950: '#000000',
  },
}
SCSS
$custom: #8d3aaf;
$custom-light: #b276c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3aaf",
  "rgb": {
    "r": 141,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 282.564,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.18636,
    "h": 314.5
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#8D3AAF
secondary
#95C382
accent
#DA4E77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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