#8D3DAC#8D3DAC

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

Color values

HEX#8D3DAC
RGBrgb(141, 61, 172)
HSLhsl(283, 48%, 46%)
HSVhsv(283, 65%, 67%)
CMYKcmyk(18%, 64.5%, 0%, 32.5%)
CIE-LABlab(41.18, 51.40, -44.98)
CIE-LCHlch(41.18, 68.30, 318.81°)
OKLaboklab(51.52% 0.1272 -0.1263)
OKLCHoklch(51.52% 0.179 315.2)
XYZxyz(20.0985, 11.9795, 40.2753)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DAC #5CAC3D
analogous
#553DAC #8D3DAC #AC3D93
triadic
#8D3DAC #AC8D3D #3DAC8D
tetradic
#8D3DAC #AC553D #5CAC3D #3D93AC
square
#8D3DAC #AC553D #5CAC3D #3D93AC
split-complementary
#8D3DAC #93AC3D #3DAC55
monochromatic
#431D52 #682D7F #8D3DAC #AA60C7 #C28DD7

Accessibility & contrast

On white

6.18
#8D3DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3DAC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DAC#FFFFFF#000000##FFFFFF
##8D3DAC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAF
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#8B526F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d3dac;
/* rgb */ color: rgb(141, 61, 172);
/* oklch */ color: oklch(51.5% 0.179 315.2);
Tailwind
colors: {
  custom: {
    50: '#b178c5',
    500: '#8d3dac',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dac;
$custom-light: #b178c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dac",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 283.243,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51519,
    "c": 0.17925,
    "h": 315.2
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#8D3DAC
secondary
#95C184
accent
#D75176
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D3DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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